From 099f58f8f41d6439643e625794c66ad932bae17b Mon Sep 17 00:00:00 2001 From: Peter Bacsko Date: Tue, 9 Mar 2021 13:22:48 +0100 Subject: [PATCH] YARN-10681. Fix assertion failure message in BaseSLSRunnerTest. Contributed by Szilard Nemeth. --- .../test/java/org/apache/hadoop/yarn/sls/BaseSLSRunnerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-tools/hadoop-sls/src/test/java/org/apache/hadoop/yarn/sls/BaseSLSRunnerTest.java b/hadoop-tools/hadoop-sls/src/test/java/org/apache/hadoop/yarn/sls/BaseSLSRunnerTest.java index bfbd592c42b..1bb4710d56d 100644 --- a/hadoop-tools/hadoop-sls/src/test/java/org/apache/hadoop/yarn/sls/BaseSLSRunnerTest.java +++ b/hadoop-tools/hadoop-sls/src/test/java/org/apache/hadoop/yarn/sls/BaseSLSRunnerTest.java @@ -126,7 +126,7 @@ public abstract class BaseSLSRunnerTest { if (!exceptionList.isEmpty()) { sls.stop(); - Assert.fail("TestSLSRunner catched exception from child thread " + Assert.fail("TestSLSRunner caught exception from child thread " + "(TaskRunner.TaskDefinition): " + exceptionList); break; }