Skip to content

Commit 82e3734

Browse files
author
Roman
committed
increase waiting time
1 parent 479ab0d commit 82e3734

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/e2e_tests/test_incentive.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,16 @@ async def test_incentive(local_chain, subtensor, alice_wallet, bob_wallet):
5252

5353
# Get current miner/validator stats
5454
alice_neuron = metagraph.neurons[0]
55+
56+
time.sleep(20)
5557
assert alice_neuron.validator_permit is True
5658
assert alice_neuron.dividends == 0
5759
assert alice_neuron.stake.tao > 0
5860
assert alice_neuron.validator_trust == 0
5961

6062
bob_neuron = metagraph.neurons[1]
63+
64+
time.sleep(20)
6165
assert bob_neuron.incentive == 0
6266
assert bob_neuron.consensus == 0
6367
assert bob_neuron.rank == 0
@@ -82,7 +86,7 @@ async def test_incentive(local_chain, subtensor, alice_wallet, bob_wallet):
8286
"--subtensor.network",
8387
"local",
8488
"--subtensor.chain_endpoint",
85-
"ws://localhost:9945",
89+
local_chain.chain_endpoint,
8690
"--wallet.path",
8791
bob_wallet.path,
8892
"--wallet.name",

0 commit comments

Comments
 (0)