Skip to content

Commit 2e2f9e8

Browse files
author
Roman
committed
add time
1 parent fc7e1e0 commit 2e2f9e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e_tests/test_hotkeys.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ async def test_children(local_chain, subtensor, alice_wallet, bob_wallet, dave_w
265265

266266
assert pending == [(1.0, bob_wallet.hotkey.ss58_address)]
267267

268-
subtensor.wait_for_block(cooldown + 15)
268+
# we use `*2` to ensure that the chain has time to process
269+
subtensor.wait_for_block(cooldown + SET_CHILDREN_RATE_LIMIT * 2)
269270

270271
success, children, error = subtensor.get_children(
271272
alice_wallet.hotkey.ss58_address,

0 commit comments

Comments
 (0)