-
Notifications
You must be signed in to change notification settings - Fork 136
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 a crash while counting logs and disabling a module #301
Conversation
Hi @guperrot, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
39e5f48
to
8487aee
Compare
Current coverage is 100% (diff: 100%)@@ develop #301 diff @@
=====================================
Files 60 60
Lines 2699 2704 +5
Methods 0 0
Messages 0 0
Branches 492 493 +1
=====================================
+ Hits 2699 2704 +5
Misses 0 0
Partials 0 0
|
try { | ||
latch.await(); | ||
} catch (InterruptedException e) { | ||
throw new RuntimeException(e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if it throws a runtime exception, does the test fail?
It is running on another thread so I don't think it will fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just that I prefer the unit test to crash so we can investigate than having a silent exception and trying to understand why the test breaks (in the future).
No description provided.