test(authn): mongo health check more than once

This commit is contained in:
JimMoen 2022-02-15 00:47:55 +08:00
parent 2a1fba97da
commit 0e5105db6e
1 changed files with 2 additions and 2 deletions

View File

@ -78,8 +78,8 @@ t_create(_Config) ->
<<"versions">> => [<<"tlsv1.2">>],
<<"ciphers">> => [<<"ECDHE-RSA-AES256-GCM-SHA384">>]}),
fun({ok, _}, Trace) ->
?assertEqual(
[ok],
?assertMatch(
[ok | _],
?projection(
status,
?of_kind(emqx_connector_mongo_health_check, Trace)))