aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-30 10:53:37 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-04-30 10:49:49 +0200
commitfab1eb65b196d62466fdc2ed319ffa19d3560a0c (patch)
tree4f6d34b73e1086111fe5400906f497f2c77c764c /test/functional
parent480bf01c295527bd212964efe4df3bb886db5654 (diff)
downloadbitcoin-fab1eb65b196d62466fdc2ed319ffa19d3560a0c.tar.xz
test: Fix feature_config_args.py intermittent issue
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/feature_config_args.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/feature_config_args.py b/test/functional/feature_config_args.py
index a0bcd9f12a..de9d0d2e80 100755
--- a/test/functional/feature_config_args.py
+++ b/test/functional/feature_config_args.py
@@ -165,6 +165,7 @@ class ConfArgsTest(BitcoinTestFramework):
with self.nodes[0].assert_debug_log(expected_msgs=[
"Loaded 0 addresses from peers.dat",
"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}'])
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=[
"Loaded 0 addresses from peers.dat",
"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}'])
with self.nodes[0].assert_debug_log(expected_msgs=[