HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1564881 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jxiang 2014-02-05 19:00:29 +00:00
parent 87963e7a91
commit 976ea775ae
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ public class TestZKPermissionsWatcher {
return AUTH_B.getMTime() > mtimeB;
}
});
Thread.sleep(100);
Thread.sleep(1000);
// check it
assertTrue(AUTH_A.authorizeUser(george, TEST_TABLE, null,
@ -155,7 +155,7 @@ public class TestZKPermissionsWatcher {
return AUTH_A.getMTime() > mtimeA;
}
});
Thread.sleep(100);
Thread.sleep(1000);
// check it
assertTrue(AUTH_A.authorizeUser(george, TEST_TABLE, null,