Browse Source

HDFS-16529. Remove unnecessary setObserverRead in TestConsistentReadsObserver (#4131)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
wangzhaohui 3 years ago
parent
commit
61bbdfd3a7

+ 0 - 2
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConsistentReadsObserver.java

@@ -108,8 +108,6 @@ public class TestConsistentReadsObserver {
 
   @Test
   public void testRequeueCall() throws Exception {
-    setObserverRead(true);
-
     // Update the configuration just for the observer, by enabling
     // IPC backoff and using the test scheduler class, which starts to backoff
     // after certain number of calls.