Skip to content

Commit 15ad090

Browse files
author
slfan1989
committed
YARN-11158. Fix CheckStyle.
1 parent aa134f8 commit 15ad090

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
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: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,12 +1573,17 @@ public void testGetNumMaxThreads() {
15731573
@Test
15741574
public void testGetDelegationToken() throws IOException, YarnException {
15751575

1576-
// We design such a unit test to check that the execution of the GetDelegationToken method is as expected.
1576+
// We design such a unit test to check
1577+
// that the execution of the GetDelegationToken method is as expected.
1578+
//
15771579
// 1. Apply for a DelegationToken for renewer1,
1578-
// the Router returns the DelegationToken of the user, and the KIND of the token is RM_DELEGATION_TOKEN
1580+
// the Router returns the DelegationToken of the user, and the KIND of the token is
1581+
// RM_DELEGATION_TOKEN
1582+
//
15791583
// 2. We maintain the compatibility with RMDelegationTokenIdentifier,
15801584
// we can serialize the token into RMDelegationTokenIdentifier,
1581-
// we can get the issueDate, and compare the data in the StateStore, the data should be consistent。
1585+
// we can get the issueDate, and compare the data in the StateStore,
1586+
// the data should be consistent.
15821587

15831588
// Step1. We apply for DelegationToken for renewer1
15841589
// Both response & delegationToken cannot be empty

0 commit comments

Comments
 (0)