Repository: curator
Updated Branches:
  refs/heads/CURATOR-261 a9271ff60 -> 763aa39a1


allow session time to elapse


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/763aa39a
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/763aa39a
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/763aa39a

Branch: refs/heads/CURATOR-261
Commit: 763aa39a1467a6963447f7a6b0ab5ff956b1d703
Parents: a9271ff
Author: randgalt <[email protected]>
Authored: Thu Sep 10 23:43:14 2015 -0500
Committer: randgalt <[email protected]>
Committed: Thu Sep 10 23:43:14 2015 -0500

----------------------------------------------------------------------
 .../curator/framework/recipes/locks/TestInterProcessMutexBase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/763aa39a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessMutexBase.java
----------------------------------------------------------------------
diff --git 
a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessMutexBase.java
 
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessMutexBase.java
index 0cf8d45..febf499 100644
--- 
a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessMutexBase.java
+++ 
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/locks/TestInterProcessMutexBase.java
@@ -192,7 +192,7 @@ public abstract class TestInterProcessMutexBase extends 
BaseClassForTests
 
             Assert.assertTrue(timing.acquireSemaphore(semaphore, 1));
             KillSession.kill(client.getZookeeperClient().getZooKeeper(), 
server.getConnectString());
-            Assert.assertTrue(timing.acquireSemaphore(semaphore, 1));
+            
Assert.assertTrue(timing.forSessionSleep().acquireSemaphore(semaphore, 1));
         }
         finally
         {

Reply via email to