You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ka...@apache.org on 2017/05/24 10:42:49 UTC
[18/50] [abbrv] kylin git commit: minor,
more stable ITZookeeperDistributedLockTest
minor, more stable ITZookeeperDistributedLockTest
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/fd3bfedb
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/fd3bfedb
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/fd3bfedb
Branch: refs/heads/KYLIN-2606
Commit: fd3bfedb50f488d6679b9a01bc17e214622b8838
Parents: 0bdd1c2
Author: Yang Li <li...@apache.org>
Authored: Sat May 20 14:00:06 2017 +0800
Committer: Yang Li <li...@apache.org>
Committed: Sat May 20 14:00:06 2017 +0800
----------------------------------------------------------------------
.../kylin/storage/hbase/ITZookeeperDistributedLockTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/fd3bfedb/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITZookeeperDistributedLockTest.java
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITZookeeperDistributedLockTest.java b/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITZookeeperDistributedLockTest.java
index 8460cb9..48d6736 100644
--- a/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITZookeeperDistributedLockTest.java
+++ b/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITZookeeperDistributedLockTest.java
@@ -113,12 +113,12 @@ public class ITZookeeperDistributedLockTest extends HBaseMetadataTestCase {
new Thread() {
@Override
public void run() {
- d.lock(path, 10000);
+ d.lock(path, 15000);
}
}.start();
c.unlock(path);
- Thread.sleep(10000);
+ Thread.sleep(20000);
assertTrue(c.isLocked(path));
assertEquals(d.getClient(), d.peekLock(path));