Skip to content

Commit

Permalink
test: mark test-cluster-primary-error flaky on asan
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Apr 5, 2023
1 parent 5572f8f commit ac4d5f5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/sequential/sequential.status
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 5 additions & 0 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ac4d5f5

Please sign in to comment.