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/master
Commit: 7b780b5b01cdd5ad75ac9b42bfd276d73cb42c3b
Parents: 3ad6ca7
Author: randgalt <[email protected]>
Authored: Fri Jul 21 11:32:51 2017 -0500
Committer: randgalt <[email protected]>
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();

Reply via email to