Skip to content

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Dec 16, 2024

Motivation:

In PR 3026 we I fixed some warnings, but as part of doing so I eliminated some complexity in the scheduled callback tests. Apparently I did that a bit hard, as I lost a few synchronization edges that made the tests lightly flaky.

Modifications:

  • Re-add synchronization edges between the EL and the test when we advance time
  • Re-add synchronization edges after cancellation calls.

Result:

More reliable tests

Motivation:

In PR 3026 we I fixed some warnings, but as part of doing so I eliminated
some complexity in the scheduled callback tests. Apparently I did that a
bit hard, as I lost a few synchronization edges that made the tests lightly
flaky.

Modifications:

- Re-add synchronization edges between the EL and the test when we advance
    time
- Re-add synchronization edges after cancellation calls.

Result:

More reliable tests
@Lukasa Lukasa added the semver/none No version bump required. label Dec 16, 2024
@Lukasa Lukasa merged commit 1a3229b into apple:main Dec 16, 2024
33 of 35 checks passed
@Lukasa Lukasa deleted the cb-fix-timing-issues-in-awkward-tests branch December 16, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants