Skip to content

Break immediately when cancelling a multiple test run #1589

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

plemarquand
Copy link
Contributor

When using "Run Test Multiple Times" or "Run Until Failure" cancelling the run would prevent subsequent test runs from occuring, but the logs would still print out "Beginning Test Iteration #x" for each remaining test iteration.

Exit out of the loop that is running the tests multiple times once cancellation has been requested. Also clean up the cancellation error message in the logs to be formatted not as an error but just a message.

When using "Run Test Multiple Times" or "Run Until Failure" cancelling
the run would prevent subsequent test runs from occuring, but the logs
would still print out "Beginning Test Iteration #x" for each remaining
test iteration.

Exit out of the loop that is running the tests multiple times once
cancellation has been requested. Also clean up the cancellation error
message in the logs to be formatted not as an error but just a message.
@plemarquand plemarquand merged commit 4852aff into swiftlang:main May 29, 2025
19 checks passed
@plemarquand plemarquand deleted the run-multiple-cancellation branch May 29, 2025 14:58
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.

None yet

2 participants