Merge pull request #7371

1aecdcf Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
This commit is contained in:
luigi1111 2021-02-18 14:11:55 -05:00
commit 1614be4a41
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -97,7 +97,7 @@ class MiningTest():
# wait till we mined a few of them # wait till we mined a few of them
target_height = prev_height + 5 target_height = prev_height + 5
height = prev_height height = prev_height
timeout = 60 # randomx is slow to init timeout = 240 # randomx is slow to init
while height < target_height: while height < target_height:
seen_height = height seen_height = height
for _ in range(timeout): for _ in range(timeout):