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/07/21 16:32:57 UTC
curator git commit: Updated assert message for testConcurrency1 as
well
Repository: curator
Updated Branches:
refs/heads/CURATOR-426 3ad6ca765 -> 7b780b5b0
Updated assert message for testConcurrency1 as well
Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/7b780b5b
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/7b780b5b
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/7b780b5b
Branch: refs/heads/CURATOR-426
Commit: 7b780b5b01cdd5ad75ac9b42bfd276d73cb42c3b
Parents: 3ad6ca7
Author: randgalt <ra...@apache.org>
Authored: Fri Jul 21 11:32:51 2017 -0500
Committer: randgalt <ra...@apache.org>
Committed: Fri Jul 21 11:32:51 2017 -0500
----------------------------------------------------------------------
.../apache/curator/x/async/migrations/TestMigrationManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/curator/blob/7b780b5b/curator-x-async/src/test/java/org/apache/curator/x/async/migrations/TestMigrationManager.java
----------------------------------------------------------------------
diff --git a/curator-x-async/src/test/java/org/apache/curator/x/async/migrations/TestMigrationManager.java b/curator-x-async/src/test/java/org/apache/curator/x/async/migrations/TestMigrationManager.java
index 063b961..bc724f5 100644
--- a/curator-x-async/src/test/java/org/apache/curator/x/async/migrations/TestMigrationManager.java
+++ b/curator-x-async/src/test/java/org/apache/curator/x/async/migrations/TestMigrationManager.java
@@ -313,7 +313,7 @@ public class TestMigrationManager extends CompletableBaseClassForTests
}
catch ( Throwable e )
{
- Assert.assertTrue(Throwables.getRootCause(e) instanceof AsyncWrappers.TimeoutException);
+ Assert.assertTrue(Throwables.getRootCause(e) instanceof AsyncWrappers.TimeoutException, "Should throw AsyncWrappers.TimeoutException, was: " + Throwables.getStackTraceAsString(Throwables.getRootCause(e)));
}
latch.countDown();