saintstack commented on a change in pull request #1433: HBASE-24114 [Flakey 
Tests] TestSnapshotScannerHDFSAclController
URL: https://github.com/apache/hbase/pull/1433#discussion_r403512109
 
 

 ##########
 File path: 
hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestSnapshotScannerHDFSAclController.java
 ##########
 @@ -139,6 +140,13 @@ public static void tearDownAfterClass() throws Exception {
     TEST_UTIL.shutdownMiniCluster();
   }
 
+  private void snapshotAndWait(final String snapShotName, final TableName 
tableName)
+    throws Exception{
+    admin.snapshot(snapShotName, tableName);
+    LOG.info("Sleep for one second, waiting for HDFS Acl setup");
+    Threads.sleep(1000);
 
 Review comment:
   Up this to 3 seconds? Yeah, this ugly (smile).

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to