dash/test/functional/test_framework
MarcoFalke 9b1ebdb161
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
2020-03-24 11:43:10 -05:00
..
__init__.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
authproxy.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
bignum.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
blocktools.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
coverage.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
key.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
mininode.py Merge #11677: qa: Remove unused NodeConn members 2020-02-29 11:51:03 -06:00
netutil.py Merge #10781: Python cleanups 2020-01-02 22:01:29 -06:00
script.py Merge #12475: qa: Fix python TypeError in script.py 2020-03-24 11:43:10 -05:00
siphash.py Merge bitcoin#9956: Reorganise qa directory (#2912) 2019-05-19 23:20:34 +03:00
socks5.py Merge #11513: [trivial] [tests] A few Python3 tidy ups 2020-02-29 11:51:03 -06:00
test_framework.py Merge #12904: [qa] Ensure bitcoind processes are cleaned up when tests end 2020-03-24 11:43:10 -05:00
test_node.py Merge #12902: [qa] Handle potential cookie race when starting node 2020-03-24 11:43:10 -05:00
util.py Merge #12902: [qa] Handle potential cookie race when starting node 2020-03-24 11:43:10 -05:00