Skip to content

Conversation

@sunkup
Copy link
Member

@sunkup sunkup commented Dec 9, 2025

Purpose

Sometimes we don't manage to move into the forever pending sync state. In those cases the test should be skipped.

Short description

Check using Assume.assumeTrue (instead of assert) that we have moved into the forever pending sync state. If not then the test will be skipped.

Checklist

  • The PR has a proper title, description and label.
  • I have self-reviewed the PR.
  • I have added documentation to complex functions and functions that can be used by other modules.
  • I have added reasonable tests or consciously decided to not add tests.

@sunkup sunkup self-assigned this Dec 9, 2025
@sunkup sunkup added the bug Something isn't working label Dec 9, 2025
@sunkup sunkup changed the title Skip flaky test by assuming move into forever pending sync state Skip flaky test when not moving into forever pending sync state Dec 9, 2025
@sunkup sunkup changed the title Skip flaky test when not moving into forever pending sync state Skip flaky test when not moving into anticipated forever pending sync state Dec 9, 2025
Signed-off-by: Sunik Kupfer <[email protected]>
@sunkup sunkup marked this pull request as ready for review December 9, 2025 14:05
@sunkup sunkup requested a review from a team as a code owner December 9, 2025 14:05
@sunkup sunkup merged commit 29240ea into main-ose Dec 10, 2025
6 checks passed
@sunkup sunkup deleted the 1835-accountsettingsmigration21testtestcancelssyncandclearspendingstate-sometimes-fails branch December 10, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AccountSettingsMigration21Test.testCancelsSyncAndClearsPendingState sometimes fails

2 participants