Increase timeout for the mining test 4 times (to 240s)

This commit is contained in:
mj-xmr 2021-02-11 13:42:43 +01:00
parent cb70ae9450
commit 1aecdcf536

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):