You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2022/04/06 08:32:58 UTC

[hadoop] branch branch-2.10 updated: HDFS-16529. Remove unnecessary setObserverRead in TestConsistentReadsObserver (#4131)

This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-2.10 by this push:
     new 0fdcfe2bebd HDFS-16529. Remove unnecessary setObserverRead in TestConsistentReadsObserver (#4131)
0fdcfe2bebd is described below

commit 0fdcfe2bebd0054bb962ab3d526fbb4501ed5f90
Author: wangzhaohui <32...@users.noreply.github.com>
AuthorDate: Wed Apr 6 16:29:43 2022 +0800

    HDFS-16529. Remove unnecessary setObserverRead in TestConsistentReadsObserver (#4131)
    
    Signed-off-by: Akira Ajisaka <aa...@apache.org>
    (cherry picked from commit 61bbdfd3a73a18cf05aeb2c40429c34c4b9b0732)
---
 .../hadoop/hdfs/server/namenode/ha/TestConsistentReadsObserver.java     | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConsistentReadsObserver.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConsistentReadsObserver.java
index 7ae388b3196..469da2b20c0 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConsistentReadsObserver.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConsistentReadsObserver.java
@@ -109,8 +109,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.


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org