Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NetP tests to use Swift concurrency waiter #3632

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

graeme
Copy link
Contributor

@graeme graeme commented Nov 27, 2024

Task/Issue URL: https://app.asana.com/0/414709148257752/1208837629360139/f

Description:

Tests were using waitForExpectations while the underlying calls spawn Tasks - we should not mix structured concurrency with that API as it could produce unexpected deadlocks. Updating to use await fulfillmentOfExpectations

Steps to test this PR:
Green CI

Definition of Done (Internal Only):

Copy Testing:

  • Use of correct apostrophes in new copy, ie rather than '

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

@graeme graeme requested a review from samsymons November 27, 2024 15:55
Copy link
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I stress tested this locally and re-ran it a few times on CI, no issues. 🚢

@graeme graeme merged commit ac0dffd into main Nov 28, 2024
16 checks passed
@graeme graeme deleted the graeme/fix-flakey-netp-status-view-model-test branch November 28, 2024 10:29
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