Skip to content

Commit 963a1bb

Browse files
author
zengqiang.xu
committed
HDFS-16641. Fix checkstyle
1 parent acf0e38 commit 963a1bb

File tree

1 file changed

+2
-5
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha

1 file changed

+2
-5
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestObserverNode.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
package org.apache.hadoop.hdfs.server.namenode.ha;
1919

20-
import static org.apache.hadoop.hdfs.DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY;
2120
import static org.apache.hadoop.hdfs.DFSConfigKeys.DFS_NAMENODE_STATE_CONTEXT_ENABLED_KEY;
2221
import static org.apache.hadoop.hdfs.server.namenode.NameNodeAdapter.getServiceState;
2322
import static org.apache.hadoop.hdfs.server.namenode.ha.ObserverReadProxyProvider.*;
@@ -157,10 +156,8 @@ public void testObserverRequeue() throws Exception {
157156
assertSentTo(2);
158157
return fileStatus;
159158
}, 0, TimeUnit.SECONDS);
160-
161-
Thread.sleep(1000);
162-
163-
observerEditlogTailer.doTailEdits();
159+
Thread.sleep(1000);
160+
observerEditlogTailer.doTailEdits();
164161
FileStatus fileStatus = scheduledFuture.get(1000, TimeUnit.MILLISECONDS);
165162
assertNotNull(fileStatus);
166163

0 commit comments

Comments
 (0)