Skip to content

Avoid ignoring interrupts in testsuite#12958

Merged
normanmaurer merged 1 commit into4.1from
timeouts
Nov 3, 2022
Merged

Avoid ignoring interrupts in testsuite#12958
normanmaurer merged 1 commit into4.1from
timeouts

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:
JUnit relies on interrupts to communicate test timeouts. When we silently swallow interrupts, we break this mechanism.

Modification:
Make the loops in the testsuite throw their interrupts instead of silently swallowing them.

Result:
The tests now responds to timeouts.

Motivation:
JUnit relies on interrupts to communicate test timeouts.
When we silently swallow interrupts, we break this mechanism.

Modification:
Make the loops in the testsuite throw their interrupts instead of silently swallowing them.

Result:
The tests now responds to timeouts.
@normanmaurer normanmaurer added this to the 4.1.85.Final milestone Nov 2, 2022
@normanmaurer normanmaurer merged commit e1437fb into 4.1 Nov 3, 2022
@normanmaurer normanmaurer deleted the timeouts branch November 3, 2022 07:28
normanmaurer added a commit that referenced this pull request Nov 3, 2022
Motivation:
JUnit relies on interrupts to communicate test timeouts.
When we silently swallow interrupts, we break this mechanism.

Modification:
Make the loops in the testsuite throw their interrupts instead of silently swallowing them.

Result:
The tests now responds to timeouts.
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