Skip to content

Fix flaky e2e test (tests.e2e_tests.test_staking.test_safe_staking_scenarios)#3025

Merged
basfroman merged 1 commit intostagingfrom
fix/roman/fix-flaky-behavior-for-test-safe-staking-scenario
Aug 25, 2025
Merged

Fix flaky e2e test (tests.e2e_tests.test_staking.test_safe_staking_scenarios)#3025
basfroman merged 1 commit intostagingfrom
fix/roman/fix-flaky-behavior-for-test-safe-staking-scenario

Conversation

@basfroman
Copy link
Collaborator

@basfroman basfroman commented Aug 23, 2025

The root of the problem was that for fast runtime tempo is 10 blocks by default. This is 2.5 seconds only. The emission was released quickly and the accruals broke the logic.
Now the test for both fast and non-fast runtime passes successfully with multiple repetitions.

@basfroman basfroman requested a review from a team August 23, 2025 00:28
@basfroman basfroman self-assigned this Aug 23, 2025
@basfroman basfroman added bug Something isn't working testing labels Aug 23, 2025
@basfroman basfroman mentioned this pull request Aug 23, 2025
@basfroman basfroman changed the title increase tempo, readability Fix flaky e2e test (tests.e2e_tests.test_staking.test_safe_staking_scenarios) Aug 23, 2025
@basfroman basfroman merged commit 36209ea into staging Aug 25, 2025
155 of 158 checks passed
@basfroman basfroman deleted the fix/roman/fix-flaky-behavior-for-test-safe-staking-scenario branch August 25, 2025 00:17
This was referenced Aug 28, 2025
@basfroman basfroman mentioned this pull request Sep 5, 2025
basfroman added a commit that referenced this pull request Oct 14, 2025
…-for-test-safe-staking-scenario

Fix `flaky` e2e test (tests.e2e_tests.test_staking.test_safe_staking_scenarios)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants