Skip to content

Commit 15ab9a9

Browse files
author
slfan1989
committed
YARN-11180. Fix CheckStyle.
1 parent 24234ac commit 15ab9a9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/clientrm/TestFederationClientInterceptor.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,7 @@ public void testForceKillApplication()
351351
@Test
352352
public void testForceKillApplicationNotExists()
353353
throws YarnException, IOException, InterruptedException {
354-
LOG.info("Test FederationClientInterceptor: "
355-
+ "Force Kill Application - Not Exists");
354+
LOG.info("Test FederationClientInterceptor: Force Kill Application - Not Exists");
356355

357356
ApplicationId appId =
358357
ApplicationId.newInstance(System.currentTimeMillis(), 1);
@@ -363,7 +362,7 @@ public void testForceKillApplicationNotExists()
363362
Assert.fail();
364363
} catch (YarnException e) {
365364
Assert.assertTrue(e.getMessage().equals(
366-
"Application " + appId + " does not exist in FederationStateStore"));
365+
"Application " + appId + " does not exist in FederationStateStore."));
367366
}
368367
}
369368

@@ -439,7 +438,7 @@ public void testGetApplicationNotExists()
439438
Assert.fail();
440439
} catch (YarnException e) {
441440
Assert.assertTrue(e.getMessage().equals(
442-
"Application " + appId + " does not exist in FederationStateStore"));
441+
"Application " + appId + " does not exist in FederationStateStore."));
443442
}
444443
}
445444

0 commit comments

Comments
 (0)