diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-04-09 19:11:07 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-04-09 19:11:08 -0400 |
commit | 727175a08dffcb5f18f8faac562ab54f89e5f36e (patch) | |
tree | 877d084a3fd9cd2d6c3a67bbf0309bb6a701bcd4 /src/test/test_bitcoin.cpp | |
parent | 06ead15050f54d10125a72afe1c6c47150f6a73c (diff) | |
parent | 75d0e4c5444249f0cf81ed0494e2c2717170b695 (diff) |
Merge #12902: [qa] Handle potential cookie race when starting node
75d0e4c544 [qa] Delete cookie file before starting node (Suhas Daftuar)
Pull request description:
When a node is restarted during a test after an unclean shutdown (such
as with -dbcrashratio), it's possible an old cookie file was left
behind. This can cause a race condition when restarting the node, where
the test framework might try to connect using credentials from the
old cookie file, just as the node will generate new credentials and
overwrite the old file.
Delete any such cookie file if present prior to startup.
Tree-SHA512: ae1e8bf8fd20e07c32b0715025693bb28b0e3dd34f328cae4346abf579b0c97b5db1c02782e1c46b7a3b6058d268b6d46b668e847658a6eed0be857ffb0d65dc
Diffstat (limited to 'src/test/test_bitcoin.cpp')
0 files changed, 0 insertions, 0 deletions