Skip to content

Commit fa19295

Browse files
author
MarcoFalke
committed
test: Bump timeouts to avoid valgrind failures
1 parent e2d3663 commit fa19295

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

test/functional/feature_dersig.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def unDERify(tx):
3636
tx.vin[0].scriptSig = CScript(newscript)
3737

3838

39-
4039
class BIP66Test(BitcoinTestFramework):
4140
def set_test_params(self):
4241
self.num_nodes = 1
@@ -45,7 +44,7 @@ def set_test_params(self):
4544
'-par=1', # Use only one script thread to get the exact log msg for testing
4645
]]
4746
self.setup_clean_chain = True
48-
self.rpc_timeout = 120
47+
self.rpc_timeout = 240
4948

5049
def skip_test_if_missing_module(self):
5150
self.skip_if_no_wallet()

test/functional/mempool_reorg.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def run_test(self):
7676
spend_101_id = self.nodes[0].sendrawtransaction(spend_101_raw)
7777
spend_102_1_id = self.nodes[0].sendrawtransaction(spend_102_1_raw)
7878

79-
self.sync_all(timeout=360)
79+
self.sync_all(timeout=720)
8080

8181
assert_equal(set(self.nodes[0].getrawmempool()), {spend_101_id, spend_102_1_id, timelock_tx_id})
8282

@@ -91,10 +91,11 @@ def run_test(self):
9191
for node in self.nodes:
9292
node.invalidateblock(new_blocks[0])
9393

94-
self.sync_all(timeout=360)
94+
self.sync_all(timeout=720)
9595

9696
# mempool should be empty.
9797
assert_equal(set(self.nodes[0].getrawmempool()), set())
9898

99+
99100
if __name__ == '__main__':
100101
MempoolCoinbaseTest().main()

test/functional/wallet_groups.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
assert_equal,
1212
)
1313

14+
1415
class WalletGroupTest(BitcoinTestFramework):
1516
def set_test_params(self):
1617
self.setup_clean_chain = True
1718
self.num_nodes = 3
1819
self.extra_args = [[], [], ['-avoidpartialspends']]
19-
self.rpc_timeout = 240
20+
self.rpc_timeout = 480
2021

2122
def skip_test_if_missing_module(self):
2223
self.skip_if_no_wallet()
@@ -87,5 +88,6 @@ def run_test(self):
8788
# is way too big.
8889
assert self.nodes[2].sendtoaddress(address=addr2[0], amount=5)
8990

91+
9092
if __name__ == '__main__':
91-
WalletGroupTest().main ()
93+
WalletGroupTest().main()

test/functional/wallet_multiwallet.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class MultiWalletTest(BitcoinTestFramework):
2424
def set_test_params(self):
2525
self.setup_clean_chain = True
2626
self.num_nodes = 2
27+
self.rpc_timeout = 120
2728

2829
def skip_test_if_missing_module(self):
2930
self.skip_if_no_wallet()

0 commit comments

Comments
 (0)