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 d6055a7  GEODE-4165: Listener EventId in server does not match that of 
the client for clearRegion
d6055a7 is described below

commit d6055a7152a0982508e554faeb237105fe0ef057
Author: Lynn Hughes-Godfrey <[email protected]>
AuthorDate: Wed Jan 3 17:55:42 2018 -0800

    GEODE-4165: Listener EventId in server does not match that of the client 
for clearRegion
    
    - Improved logging to display full EventId (including MembershipId) when 
mismatch detected
---
 .../internal/cache/tier/sockets/EventIDVerificationDUnitTest.java     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/EventIDVerificationDUnitTest.java
 
b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/EventIDVerificationDUnitTest.java
index a7fed31..9fd57b7 100755
--- 
a/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/EventIDVerificationDUnitTest.java
+++ 
b/geode-core/src/test/java/org/apache/geode/internal/cache/tier/sockets/EventIDVerificationDUnitTest.java
@@ -319,6 +319,10 @@ public class EventIDVerificationDUnitTest extends 
JUnit4DistributedTestCase {
           gotCallback = true;
           // verifyEventIDsDuringRegionDestroy(event);
           testEventIDResult = ((RegionEventImpl) 
event).getEventId().equals(eventId);
+          if (!testEventIDResult) {
+            cache.getLogger().warning("Expected " + 
eventId.expensiveToString() + ", but processed"
+                + ((RegionEventImpl) event).getEventId().expensiveToString());
+          }
           EventIDVerificationDUnitTest.class.notify();
         }
       }

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to