Skip to content

Commit 252f7e2

Browse files
committed
3000 txs with 12 iterations max
1 parent 98ad8c1 commit 252f7e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/functional/feature_dbcrash.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ def run_test(self):
242242
# with a maximum of 10 iterations
243243
i = 0
244244
while self.crashed_on_restart < 1:
245-
self.log.info(f"Iteration {i}, generating 2500 transactions {self.restart_counts}")
245+
self.log.info(f"Iteration {i}, generating 3000 transactions {self.restart_counts}")
246246
# Generate a bunch of small-ish transactions
247-
self.generate_small_transactions(self.nodes[3], 2500, utxo_list)
247+
self.generate_small_transactions(self.nodes[3], 3000, utxo_list)
248248
# Pick a random block between current tip, and starting tip
249249
current_height = self.nodes[3].getblockcount()
250250
random_height = random.randint(starting_tip_height, current_height)
@@ -272,8 +272,8 @@ def run_test(self):
272272
utxo_list = self.nodes[3].listunspent()
273273
self.log.debug(f"Node3 utxo count: {len(utxo_list)}")
274274

275-
if i >= 9:
276-
raise AssertionError(f"10 iterations without node crash, this should not happen")
275+
if i >= 11:
276+
raise AssertionError(f"12 iterations without node crash, this should not happen")
277277
else:
278278
i += 1
279279

0 commit comments

Comments
 (0)