geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ladyva...@apache.org
Subject [geode] 01/01: GEODE-4165: Listener EventId in server does not match that of the client for clearRegion
Date Thu, 04 Jan 2018 01:56:41 GMT
This is an automated email from the ASF dual-hosted git repository.

ladyvader pushed a commit to branch feature/GEODE-4165
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 83bafb94494e0aa7311051cafdd5fd8605a6c504
Author: Lynn Hughes-Godfrey <lhughesgodfrey@pivotal.io>
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
"commits@geode.apache.org" <commits@geode.apache.org>.

Mime
View raw message