Skip to content

Commit 693a80f

Browse files
committed
Adds era to register call to avoid flakiness
1 parent 00d977d commit 693a80f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/e2e_tests/test_unstaking.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,11 @@ def test_unstaking(local_chain, wallet_setup):
195195
"--chain",
196196
"ws://127.0.0.1:9945",
197197
"--no-prompt",
198+
"--era",
199+
"30",
198200
],
199201
)
200-
assert "✅ Registered" in register_result.stdout
202+
assert "✅ Registered" in register_result.stdout, register_result.stderr
201203

202204
# Add stake to subnets
203205
for netuid in [0, 2, 3]:

0 commit comments

Comments
 (0)