-
Notifications
You must be signed in to change notification settings - Fork 93
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
ExceptionInInitializerError
causes test to hang for entire timeout
#772
Comments
Might be related to this. munit/munit/shared/src/main/scala/munit/Exceptions.scala Lines 11 to 20 in 83cb747
|
I think the issue is here, munit/munit/jvm/src/main/scala/munit/internal/PlatformCompat.scala Lines 73 to 80 in 83cb747
The ExceptionInInitializerError will escape the Try and so the timeout won't be cancelled.
|
@armanbilge i can't repro in 1.0.4, is it still an issue? |
@kitbellew huh, that's interesting. I can still repro with 1.0.4. Are you using scala-cli or maybe some other way of running the test? |
I added this test as a suite to this repository and ran |
I see, would you mind pushing a branch / sharing a commit? I'll take a look. |
ok, turns out i was putting so, here's the result: if you use however, if you here the exception is looked at but since it's not so... i give up. |
I think this is a situation where |
h/t @milessabin
The text was updated successfully, but these errors were encountered: