YARN-10681. Fix assertion failure message in BaseSLSRunnerTest. Contributed by Szilard Nemeth.

This commit is contained in:
Peter Bacsko 2021-03-09 13:22:48 +01:00
parent 7f522c92fa
commit 099f58f8f4

View File

@ -126,7 +126,7 @@ public void uncaughtException(Thread t, Throwable e) {
if (!exceptionList.isEmpty()) { if (!exceptionList.isEmpty()) {
sls.stop(); sls.stop();
Assert.fail("TestSLSRunner catched exception from child thread " Assert.fail("TestSLSRunner caught exception from child thread "
+ "(TaskRunner.TaskDefinition): " + exceptionList); + "(TaskRunner.TaskDefinition): " + exceptionList);
break; break;
} }