test: Fix intermittent wallet_multiwallet issue with got_loading_errorfab48da908
MarcoFalke force-pushed on Dec 4, 2020
MarcoFalke requested review from ryanofsky on Dec 16, 2020
MarcoFalke requested review from promag on Dec 16, 2020
ryanofsky approved
ryanofsky
commented at 2:41 PM on December 16, 2020:
member
Code review ACKfab48da908f3f81135b9163edf5011d1e5f6ef6e. This seems like a good workaround. I think more ideally think load and unload RPCs would not have racy status reporting (suggested previously #19300#pullrequestreview-435362710 and
#19232 (comment)) so the race condition that this test tries to trigger just wouldn't exist.
Also for reference there was discussion about fragility of this test when it was added #19300 (review)
MarcoFalke merged this on Dec 16, 2020
MarcoFalke closed this on Dec 16, 2020
MarcoFalke deleted the branch on Dec 16, 2020
sidhujag referenced this in commit fa317ee7d0 on Dec 17, 2020
PiRK
commented at 3:24 PM on December 15, 2021:
contributor
Doesn't that introduce a risk that one of the 3 threads never detects a race and keeps running forever alone without interference from the other two?
PiRK
commented at 8:50 AM on December 20, 2021:
contributor
nvm, I missed the fact that got_loading_error is a global.
Fabcien referenced this in commit 56d69f8c37 on Dec 20, 2021
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me