You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2017/05/11 08:23:39 UTC
curator git commit: Allow KeeperException.SessionExpiredException on
all the tests
Repository: curator
Updated Branches:
refs/heads/CURATOR-411 5e97d0f3c -> a0ab8772c
Allow KeeperException.SessionExpiredException on all the tests
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/a0ab8772
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/a0ab8772
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/a0ab8772
Branch: refs/heads/CURATOR-411
Commit: a0ab8772ca89a07dcc298705c06d18c73d218242
Parents: 5e97d0f
Author: randgalt <ra...@apache.org>
Authored: Thu May 11 10:23:34 2017 +0200
Committer: randgalt <ra...@apache.org>
Committed: Thu May 11 10:23:34 2017 +0200
----------------------------------------------------------------------
.../apache/curator/framework/imps/TestFailedDeleteManager.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/a0ab8772/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFailedDeleteManager.java
----------------------------------------------------------------------
diff --git a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFailedDeleteManager.java b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFailedDeleteManager.java
index 5f2d974..50692d2 100644
--- a/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFailedDeleteManager.java
+++ b/curator-framework/src/test/java/org/apache/curator/framework/imps/TestFailedDeleteManager.java
@@ -77,7 +77,7 @@ public class TestFailedDeleteManager extends BaseClassForTests
client.delete().guaranteed().forPath("/test-me");
Assert.fail();
}
- catch ( KeeperException.ConnectionLossException e )
+ catch ( KeeperException.ConnectionLossException | KeeperException.SessionExpiredException e )
{
// expected
}
@@ -245,7 +245,7 @@ public class TestFailedDeleteManager extends BaseClassForTests
client.delete().forPath(PATH);
Assert.fail();
}
- catch ( KeeperException.ConnectionLossException e )
+ catch ( KeeperException.ConnectionLossException | KeeperException.SessionExpiredException e )
{
// expected
}
@@ -259,7 +259,7 @@ public class TestFailedDeleteManager extends BaseClassForTests
client.delete().guaranteed().forPath(PATH);
Assert.fail();
}
- catch ( KeeperException.ConnectionLossException e )
+ catch ( KeeperException.ConnectionLossException | KeeperException.SessionExpiredException e )
{
// expected
}