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:
parent
87963e7a91
commit
976ea775ae
|
@ -123,7 +123,7 @@ public class TestZKPermissionsWatcher {
|
||||||
return AUTH_B.getMTime() > mtimeB;
|
return AUTH_B.getMTime() > mtimeB;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Thread.sleep(100);
|
Thread.sleep(1000);
|
||||||
|
|
||||||
// check it
|
// check it
|
||||||
assertTrue(AUTH_A.authorizeUser(george, TEST_TABLE, null,
|
assertTrue(AUTH_A.authorizeUser(george, TEST_TABLE, null,
|
||||||
|
@ -155,7 +155,7 @@ public class TestZKPermissionsWatcher {
|
||||||
return AUTH_A.getMTime() > mtimeA;
|
return AUTH_A.getMTime() > mtimeA;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Thread.sleep(100);
|
Thread.sleep(1000);
|
||||||
|
|
||||||
// check it
|
// check it
|
||||||
assertTrue(AUTH_A.authorizeUser(george, TEST_TABLE, null,
|
assertTrue(AUTH_A.authorizeUser(george, TEST_TABLE, null,
|
||||||
|
|
Loading…
Reference in New Issue