Skip to content

Commit 210ea9e

Browse files
committed
chore: Retry asan/tsan tests a few more times.
These are somewhat flaky. A few more retries should make them pass unless they are properly broken. Most of the time they time out and one more attempt would pass it. I've added 2 more attempts.
1 parent f46f51e commit 210ea9e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.circleci/cmake-asan

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ export ASAN_OPTIONS="$ASAN_OPTIONS,detect_stack_use_after_return=1"
3232
export ASAN_OPTIONS="$ASAN_OPTIONS,strict_init_order=1"
3333
export ASAN_OPTIONS="$ASAN_OPTIONS,strict_string_checks=1"
3434
export ASAN_OPTIONS="$ASAN_OPTIONS,symbolize=1"
35-
ctest -j50 --output-on-failure ||
36-
ctest -j50 --output-on-failure --rerun-failed
35+
ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:4

.circleci/cmake-tsan

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,4 @@ ninja install -j"$(nproc)"
3030
export TSAN_OPTIONS="halt_on_error=1"
3131
export TSAN_OPTIONS="$TSAN_OPTIONS,second_deadlock_stack=1"
3232
export TSAN_OPTIONS="$TSAN_OPTIONS,symbolize=1"
33-
ctest -j50 --output-on-failure ||
34-
ctest -j50 --output-on-failure --rerun-failed
33+
ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:4

0 commit comments

Comments
 (0)