Skip to content

Commit

Permalink
[hotfix] Harden YARNSessionCapacitySchedulerITCase#testTaskManagerFai…
Browse files Browse the repository at this point in the history
…lure by removing timeout

We should wait until the runner has completed fully. Otherwise we might risk that the
Yarn application has not been fully shut down.
  • Loading branch information
tillrohrmann committed Jun 30, 2018
1 parent d2de75e commit 432e48a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public void testTaskManagerFailure() throws Exception {
runner.sendStop();
// wait for the thread to stop
try {
runner.join(1000);
runner.join();
} catch (InterruptedException e) {
LOG.warn("Interrupted while stopping runner", e);
}
Expand Down

0 comments on commit 432e48a

Please sign in to comment.