[ https://issues.apache.org/jira/browse/GEODE-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15602778#comment-15602778 ]
ASF subversion and git services commented on GEODE-2011: -------------------------------------------------------- Commit 6eb0fd398e9bff7798939df6781aa52979ef9693 in incubator-geode's branch refs/heads/feature/GEODE-1985 from [~hitesh.khamesra] [ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=6eb0fd3 ] GEODE-2011 Client code which clears pdx registry needs synchronization We clear pdx registry in client when we re-connect to cluster. But during that time other thread may end up using old registry while other thread is clearing this. Thus we need to synchronize that. In current code it happens through listener events and I modified that notification to synchronize this. > CI Failure: > PdxClientServerDUnitTest.testNonPersistentServerRestartAutoSerializer > --------------------------------------------------------------------------------- > > Key: GEODE-2011 > URL: https://issues.apache.org/jira/browse/GEODE-2011 > Project: Geode > Issue Type: Bug > Components: serialization > Reporter: Kirk Lund > Assignee: Hitesh Khamesra > Labels: CI, Flaky > > org.apache.geode.pdx.PdxClientServerDUnitTest > > testNonPersistentServerRestartAutoSerializer FAILED > org.apache.geode.test.dunit.RMIException: While invoking > org.apache.geode.pdx.PdxClientServerDUnitTest$12.call in VM 2 running on Host > 5c320afaaaae with 4 VMs > at org.apache.geode.test.dunit.VM.invoke(VM.java:389) > at org.apache.geode.test.dunit.VM.invoke(VM.java:355) > at org.apache.geode.test.dunit.VM.invoke(VM.java:320) > at > org.apache.geode.pdx.PdxClientServerDUnitTest.testNonPersistentServerRestartAutoSerializer(PdxClientServerDUnitTest.java:255) > Caused by: > java.lang.ClassCastException: > org.apache.geode.pdx.PdxClientServerDUnitTest$AutoPdxType1 cannot be cast to > org.apache.geode.pdx.PdxClientServerDUnitTest$AutoPdxType2 -- This message was sent by Atlassian JIRA (v6.3.4#6332)