geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ladyva...@apache.org
Subject [geode] branch develop updated: GEODE-4144: EventId in client does not match that of server (with putAll)
Date Thu, 04 Jan 2018 23:06:59 GMT
This is an automated email from the ASF dual-hosted git repository.

ladyvader pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 75062b6  GEODE-4144: EventId in client does not match that of server (with putAll)
75062b6 is described below

commit 75062b60a98eb2d21a3d229f487440f7ca3b462d
Author: Lynn Hughes-Godfrey <lhughesgodfrey@pivotal.io>
AuthorDate: Wed Jan 3 18:04:57 2018 -0800

    GEODE-4144: EventId in client does not match that of server (with putAll)
    
    - Added better logging of EventId (including MembershipID) when this failure is encountered.
---
 .../java/org/apache/geode/internal/cache/ha/PutAllDUnitTest.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/ha/PutAllDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/ha/PutAllDUnitTest.java
index 4cb3bb1..1c9e972 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/ha/PutAllDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/ha/PutAllDUnitTest.java
@@ -369,7 +369,10 @@ public class PutAllDUnitTest extends JUnit4DistributedTestCase {
     for (int i = 0; i < 5; i++) {
       assertNotNull(eventIds1[i]);
       assertNotNull(eventIds2[i]);
-      assertEquals(eventIds1[i], eventIds2[i]);
+      assertEquals(
+          "Event id mismatch: eventIds1[" + i + "]" + eventIds1[i].expensiveToString()
+              + ": eventIds2[" + i + "]" + eventIds2[i].expensiveToString(),
+          eventIds1[i], eventIds2[i]);
     }
     for (int i = 0; i < 5; i++) {
       assertNotNull(eventIds1[i]);

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <commits@geode.apache.org>'].

Mime
View raw message