apurtell commented on code in PR #4643:
URL: https://github.com/apache/hbase/pull/4643#discussion_r929371472


##########
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupSystemTable.java:
##########
@@ -485,15 +485,12 @@ private BackupInfo createBackupInfo() {
     return ctxt;
   }
 
-  private List<BackupInfo> createBackupInfoList(int size) {
+  private List<BackupInfo> createBackupInfoList(int size) throws 
InterruptedException {
     List<BackupInfo> list = new ArrayList<>();
     for (int i = 0; i < size; i++) {
       list.add(createBackupInfo());
-      try {
-        Thread.sleep(10);
-      } catch (InterruptedException e) {
-        e.printStackTrace();
-      }
+      // XXX Why do we need this sleep?
+      Thread.sleep(100);

Review Comment:
   10ms is really short dont' you think? But it's fair that this patch 
shouldn't try to do more, will change it back.



-- 
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