Skip to content

Fix IntervalTimer mock wait flake#541

Merged
bradleymackey merged 1 commit into
mainfrom
devops/fix-test-flake
Jun 16, 2026
Merged

Fix IntervalTimer mock wait flake#541
bradleymackey merged 1 commit into
mainfrom
devops/fix-test-flake

Conversation

@bradleymackey

Copy link
Copy Markdown
Collaborator

Summary

  • Await the three IntervalTimerMock wait tasks before the confirmation scope exits.
  • Prevent CI from observing only 1-2 confirmations in wait_multipleWaitsCanCompleteIndependently().

Root Cause

The test launched unstructured tasks, finished all mock timers, then let confirmation validate before every child task necessarily reached confirmation.confirm().

Validation

  • xcodebuild test -workspace Vault.xcworkspace -scheme CI_iOS -testPlan iOSAllTests -destination "platform=iOS Simulator,name=iPhone 17 Pro,OS=26.5" -only-testing:VaultCoreTests -parallel-testing-enabled NO -derivedDataPath /private/tmp/vault-ios-ci-fix-derived-data -skipMacroValidation -skipPackagePluginValidation
  • make format
  • make lint

@bradleymackey bradleymackey marked this pull request as ready for review June 16, 2026 20:32
@bradleymackey bradleymackey merged commit b0baece into main Jun 16, 2026
17 checks passed
@bradleymackey bradleymackey deleted the devops/fix-test-flake branch June 16, 2026 20:33
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.

1 participant