chore: update lib-ce/emqx_dashboard/test/emqx_dashboard_SUITE.erl

Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
This commit is contained in:
zhongwencool 2022-11-01 07:45:58 +08:00 committed by GitHub
parent c2c089d0e9
commit 406428c8ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ t_start_listener_failed_log(_Config) ->
?assertError(_, emqx_dashboard:start_listener({http, {"1.1.1.1", 8080}, Options})),
ct:capture_stop(),
I0 = ct:capture_get(),
?assertNotMatch(nomatch, re:run(iolist_to_binary(I0), "eaddrnotavail", [])),
?assertMatch({match, _}, re:run(iolist_to_binary(I0), "eaddrnotavail", [])),
ok.
%%------------------------------------------------------------------------------