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 hanging RunInterruptibleStressTest on Windows with JDK 1.6 #2145

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

elizarov
Copy link
Contributor

The test is improved so that it fails, not hangs, on a failure. However, it will not pass on Windows + JDK 1.6 due to a bug in JDK (which can be easily confirmed with this modification to a test), so it excluded when running on JDK 1.6.

Fixes #2144

The test is improved so that it fails, not hangs, on a failure. However, it will not pass on Windows + JDK 1.6 due to a bug in JDK (which can be easily confirmed with this modification to a test), so it excluded when running on JDK 1.6.

Fixes #2144
@elizarov elizarov requested a review from qwwdfsad July 17, 2020 08:47
@elizarov
Copy link
Contributor Author

With the changes in the test if you actually run it on Windows + JDK1.6 it fails with the following message:

java.lang.IllegalStateException: Sleep was not interrupted, Thread.isInterrupted=true

@elizarov elizarov merged commit e60bcbd into develop Jul 17, 2020
@elizarov elizarov deleted the interruptible-test branch July 17, 2020 09:30
recheej pushed a commit to recheej/kotlinx.coroutines that referenced this pull request Dec 28, 2020
…n#2145)

The test is improved so that it fails, not hangs, on a failure. However, it will not pass on Windows + JDK 1.6 due to a bug in JDK (which can be easily confirmed with this modification to a test), so it excluded when running on JDK 1.6.

Fixes Kotlin#2144
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