Skip to content

Commit 0792937

Browse files
author
Roman
committed
metagraph_info
1 parent 7352ea1 commit 0792937

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/e2e_tests/test_metagraph.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ def test_metagraph(subtensor, alice_wallet, bob_wallet, dave_wallet):
7474
# Refresh the metagraph
7575
metagraph.sync(subtensor=subtensor)
7676

77+
# wait for updated information to arrive (important for low resource docker)
78+
subtensor.wait_for_block(subtensor.block + 10)
79+
7780
# Assert metagraph has Alice and Bob neurons
7881
assert len(metagraph.uids) == 2, "Metagraph doesn't have exactly 2 neurons"
7982
assert metagraph.hotkeys[0] == alice_wallet.hotkey.ss58_address, (

0 commit comments

Comments
 (0)