Merge pull request #7967 from emqx/fix_flaky_connector_tests

fix: change connector name to prevent race condition in tests
This commit is contained in:
Xinyu Liu 2022-05-16 21:04:46 +08:00 committed by GitHub
commit 5e35e6bcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
<<"ssl">> => #{<<"enable">> => false} <<"ssl">> => #{<<"enable">> => false}
}). }).
-define(CONNECTOR_TYPE, <<"mqtt">>). -define(CONNECTOR_TYPE, <<"mqtt">>).
-define(CONNECTOR_NAME, <<"test_connector">>). -define(CONNECTOR_NAME, <<"test_connector_42">>).
all() -> all() ->
emqx_common_test_helpers:all(?MODULE). emqx_common_test_helpers:all(?MODULE).