Page MenuHomePhabricator

Fix a race condition in the validation_chainstatemanager_tests
ClosedPublic

Authored by Fabien on Oct 4 2024, 08:32.

Details

Summary

The test might run in 2 concurrent processes on some CI builds that check both pre and post activation, causing a race on the file access. Fix this by making the file name unique.

Test Plan
ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix_persist_headerstime_test
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30497
Build 60511: Build Difflint-circular-dependencies · build-debug · build-clang-tidy · build-clang · build-without-wallet · build-diff
Build 60510: arc lint + arc unit