test: mark test-cluster-primary-error flaky on asan

PR-URL: https://github.com/nodejs/node/pull/47422
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This commit is contained in:
Yagiz Nizipli authored and GitHub committed 2023-04-14 03:51:46 +00:00
1 parent cd0fcf20c3
commit c94be4125b
2 files changed
+9

No files matched your search

+4
View File
@@ -41,3 +41,7 @@ test-tls-securepair-client: PASS, FLAKY
[$arch==s390x]
# https://github.com/nodejs/node/issues/41286
test-performance-eventloopdelay: PASS, FLAKY
[$asan==on]
# https://github.com/nodejs/node/issues/39655
test-cluster-primary-error: PASS, FLAKY
+5
View File
@@ -1581,6 +1581,10 @@ def get_env_type(vm, options_type, context):
return env_type
def get_asan_state():
return "on" if os.environ.get('ASAN') is not None else "off"
def Main():
parser = BuildOptions()
(options, args) = parser.parse_args()
@@ -1673,6 +1677,7 @@ def Main():
'system': utils.GuessOS(),
'arch': vmArch,
'type': get_env_type(vm, options.type, context),
'asan': get_asan_state(),
}
test_list = root.ListTests([], path, context, arch, mode)
unclassified_tests += test_list