curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cammcken...@apache.org
Subject [3/7] curator git commit: Added some better logging to testRetryAfterFailure_Curator56()
Date Sun, 23 Aug 2015 04:40:33 GMT
Added some better logging to testRetryAfterFailure_Curator56()


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

Branch: refs/heads/CURATOR-214
Commit: 25f51498df05c50c7d6406d558a35dd8b54eb749
Parents: 2a39a45
Author: randgalt <randgalt@apache.org>
Authored: Fri Aug 21 13:07:12 2015 -0500
Committer: randgalt <randgalt@apache.org>
Committed: Fri Aug 21 13:07:12 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/curator/blob/25f51498/curator-recipes/src/test/java/org/apache/curator/framework/recipes/queue/TestDistributedQueue.java
----------------------------------------------------------------------
diff --git a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/queue/TestDistributedQueue.java
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/queue/TestDistributedQueue.java
index 80509bc..a191166 100644
--- a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/queue/TestDistributedQueue.java
+++ b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/queue/TestDistributedQueue.java
@@ -109,7 +109,7 @@ public class TestDistributedQueue extends BaseClassForTests
             retryCounter.await(10, TimeUnit.SECONDS);
             Assert.assertEquals(retryCounter.getCount(), 0, "Queue item was not consumed.
Retry counter is " + retryCounter.getCount());
             Assert.assertEquals(names.size(), 2);
-            Assert.assertEquals(names.get(0).length(), names.get(1).length());
+            Assert.assertEquals(names.get(0).length(), names.get(1).length(), "name1: " +
names.get(0) + " - " + "name2: " + names.get(1));
         }
         finally
         {


Mime
View raw message