mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 16:08:51 +03:00
account for asyncio.wait_for returning early for timeout (#14097)
This commit is contained in:
parent
32fa4fd41b
commit
801e1a0431
@ -409,8 +409,7 @@ class TestFullSync:
|
||||
blocks_950[-1].height + 1, default_1000_blocks[-1].header_hash
|
||||
)
|
||||
start = time.time()
|
||||
res = await peers[0].request_proof_of_weight(request, timeout=5)
|
||||
res = await peers[0].request_proof_of_weight(request, timeout=6)
|
||||
assert res is None
|
||||
duration = time.time() - start
|
||||
assert duration > 5
|
||||
log.info(f"result was {res}")
|
||||
|
Loading…
Reference in New Issue
Block a user