Skip to content

Commit 8b60b64

Browse files
tests: improve test_incentive waiting time
1 parent 0adc99a commit 8b60b64

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/e2e_tests/test_incentive.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ async def test_incentive(local_chain, subtensor, templates, alice_wallet, bob_wa
2222
AssertionError: If any of the checks or verifications fail
2323
"""
2424

25-
# Wait for 2 tempos to spin up chain properly
26-
subtensor.wait_for_block(20)
27-
2825
print("Testing test_incentive")
2926
netuid = 2
3027

@@ -74,7 +71,7 @@ async def test_incentive(local_chain, subtensor, templates, alice_wallet, bob_wa
7471
async with templates.miner(bob_wallet, netuid):
7572
async with templates.validator(alice_wallet, netuid):
7673
# wait for the Validator to process and set_weights
77-
await asyncio.sleep(30)
74+
await asyncio.sleep(5)
7875

7976
# Wait until next epoch
8077
await wait_epoch(subtensor, netuid)

0 commit comments

Comments
 (0)