mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
test: Fix feature_config_args.py intermittent issue
This commit is contained in:
parent
480bf01c29
commit
fab1eb65b1
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,7 @@ class ConfArgsTest(BitcoinTestFramework):
|
||||||
with self.nodes[0].assert_debug_log(expected_msgs=[
|
with self.nodes[0].assert_debug_log(expected_msgs=[
|
||||||
"Loaded 0 addresses from peers.dat",
|
"Loaded 0 addresses from peers.dat",
|
||||||
"0 addresses found from DNS seeds",
|
"0 addresses found from DNS seeds",
|
||||||
|
"opencon thread start", # Ensure ThreadOpenConnections::start time is properly set
|
||||||
]):
|
]):
|
||||||
self.start_node(0, extra_args=['-dnsseed=1', '-fixedseeds=1', f'-mocktime={start}'])
|
self.start_node(0, extra_args=['-dnsseed=1', '-fixedseeds=1', f'-mocktime={start}'])
|
||||||
with self.nodes[0].assert_debug_log(expected_msgs=[
|
with self.nodes[0].assert_debug_log(expected_msgs=[
|
||||||
|
@ -206,6 +207,7 @@ class ConfArgsTest(BitcoinTestFramework):
|
||||||
with self.nodes[0].assert_debug_log(expected_msgs=[
|
with self.nodes[0].assert_debug_log(expected_msgs=[
|
||||||
"Loaded 0 addresses from peers.dat",
|
"Loaded 0 addresses from peers.dat",
|
||||||
"DNS seeding disabled",
|
"DNS seeding disabled",
|
||||||
|
"opencon thread start", # Ensure ThreadOpenConnections::start time is properly set
|
||||||
]):
|
]):
|
||||||
self.start_node(0, extra_args=['-dnsseed=0', '-fixedseeds=1', '-addnode=fakenodeaddr', f'-mocktime={start}'])
|
self.start_node(0, extra_args=['-dnsseed=0', '-fixedseeds=1', '-addnode=fakenodeaddr', f'-mocktime={start}'])
|
||||||
with self.nodes[0].assert_debug_log(expected_msgs=[
|
with self.nodes[0].assert_debug_log(expected_msgs=[
|
||||||
|
|
Loading…
Add table
Reference in a new issue