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

Fix flaky test testTasksScheduledDuringShutdownAreAutomaticallyCancel… #3036

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

FranzBusch
Copy link
Member

…ledOrNotScheduledAnymore

Motivation

This task was flaky and hit the assertion with the count being 1

Modification

This changes the expectation to greater than 0 since we can always guarantee that one scheduled task is run but due to timing windows it might be that we shutdown the EL before the second task is enqueued which meant it was immediately failed.

Result

One less flaky test

…ledOrNotScheduledAnymore

# Motivation

This task was flaky and hit the assertion with the count being 1

# Modification

This changes the expectation to greater than 0 since we can always guarantee that one scheduled task is run but due to timing windows it might be that we shutdown the EL before the second task is enqueued which meant it was immediately failed.

# Result

One less flaky test
@FranzBusch FranzBusch added the semver/none No version bump required. label Dec 19, 2024
@Lukasa Lukasa merged commit 56f9b7c into apple:main Dec 19, 2024
33 of 36 checks passed
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