Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

thread.setDaemon(true);//Let the process/application complete after t…

…imeout expired.
  • Loading branch information...
commit 23715924c0442850b9c9cdc8404438501977745c 1 parent 1c50b6c
@Tibor17 authored
View
2  src/main/java/org/junit/internal/runners/statements/FailOnTimeout.java
@@ -31,7 +31,7 @@ public void evaluate() throws Throwable {
private StatementThread evaluateStatement() throws InterruptedException {
StatementThread thread = new StatementThread(fOriginalStatement);
- thread.setDaemon(true);//Let the process/application complete even if this thread is not finished.
+ thread.setDaemon(true);//Let the process/application complete after timeout expired.
thread.start();
fTimeUnit.timedJoin(thread, fTimeout);
if (!thread.fFinished) {
Please sign in to comment.
Something went wrong with that request. Please try again.