Apache9 commented on code in PR #5643:
URL: https://github.com/apache/hbase/pull/5643#discussion_r1459047117


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/master/normalizer/TestRegionNormalizerWorkQueue.java:
##########
@@ -203,16 +202,17 @@ public void testTake() throws Exception {
       Thread.sleep(10);
       queue.put(i);
     }
-
+    // get some sleep to let consumer consume the last one
+    Thread.sleep(10);

Review Comment:
   Is it possible to use HBTU.waitFor to make the test more reliable?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to