Skip to content

Fix E2E test_incentive by waiting till start of the very next epoch#2746

Merged
ibraheem-abe merged 2 commits intostagingfrom
fix/zyzniewski/test_incentive
Mar 17, 2025
Merged

Fix E2E test_incentive by waiting till start of the very next epoch#2746
ibraheem-abe merged 2 commits intostagingfrom
fix/zyzniewski/test_incentive

Conversation

@zyzniewski-reef
Copy link
Contributor

@zyzniewski-reef zyzniewski-reef commented Mar 13, 2025

I've run test_incentive around 20 times on CI/CD and it seems stable now.
I think the problem was down to time.sleep(5) in Validator which is bigger than epoch's duration for fast-blocks (10 blocks * 0.25s) so it's prone to skip (oversleep) one.
Now E2E waits for the first successful set_weights and checks results immediately

@zyzniewski-reef zyzniewski-reef changed the title Fix E2E test_incentive by waiting till start of the very new epoch Fix E2E test_incentive by waiting till start of the very next epoch Mar 13, 2025
@ibraheem-abe ibraheem-abe merged commit 23c5976 into staging Mar 17, 2025
37 checks passed
@ibraheem-abe ibraheem-abe deleted the fix/zyzniewski/test_incentive branch March 17, 2025 19:39
@ibraheem-abe ibraheem-abe mentioned this pull request Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants