Disable history race test on Github Actions

Same as ever: Flaky test, makes reviews more annoying. It should be
fixed, but until that happens it's better not to have it fail in
unrelated PRs.
This commit is contained in:
Fabian Homborg 2022-03-05 18:36:26 +01:00
parent 456359f78d
commit c1900ed41c

View file

@ -4387,6 +4387,14 @@ void history_tests_t::test_history_races() {
return;
}
// This fails too often on Github Actions,
// leading to a bunch of spurious test failures on unrelated PRs.
// For now it's better to disable it.
// TODO: Figure out *why* it does that and fix it.
if (getenv("CI")) {
return;
}
say(L"Testing history race conditions");
// It appears TSAN and ASAN's allocators do not release their locks properly in atfork, so