Skip to content

Commit 826f404

Browse files
anonrigtargos
authored andcommitted
test: mark test-cluster-primary-error flaky on asan
PR-URL: #47422 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 40324a1 commit 826f404

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test/sequential/sequential.status

+4
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ test-tls-securepair-client: PASS, FLAKY
4141
[$arch==s390x]
4242
# https://github.com/nodejs/node/issues/41286
4343
test-performance-eventloopdelay: PASS, FLAKY
44+
45+
[$asan==on]
46+
# https://github.com/nodejs/node/issues/39655
47+
test-cluster-primary-error: PASS, FLAKY

tools/test.py

+5
Original file line numberDiff line numberDiff line change
@@ -1581,6 +1581,10 @@ def get_env_type(vm, options_type, context):
15811581
return env_type
15821582

15831583

1584+
def get_asan_state():
1585+
return "on" if os.environ.get('ASAN') is not None else "off"
1586+
1587+
15841588
def Main():
15851589
parser = BuildOptions()
15861590
(options, args) = parser.parse_args()
@@ -1673,6 +1677,7 @@ def Main():
16731677
'system': utils.GuessOS(),
16741678
'arch': vmArch,
16751679
'type': get_env_type(vm, options.type, context),
1680+
'asan': get_asan_state(),
16761681
}
16771682
test_list = root.ListTests([], path, context, arch, mode)
16781683
unclassified_tests += test_list

0 commit comments

Comments
 (0)