[ 
https://issues.apache.org/jira/browse/GEODE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14967819#comment-14967819
 ] 

Dan Smith commented on GEODE-370:
---------------------------------

I was able to reproduce this by sticking some breakpoints in the right places. 
What's happening is this:

# serializer 5 is registered on server 1. It's sent to server 2 as a  
InternalDataSerializer.RegistrationMessage
# The message is a PooledDistributionMessage, so it runs in a thread pool on 
server 2
# serializer 6 is registered on server 1. It goes to server 2
# serializer 6 gets added to the client queue first, which serializer 5's 
thread is still running
# serializer 5 gets added to the  client queue, but the message is dropped 
because the eventId is less than the last seen event.

> DataSerializerPropogationDUnitTest testDataSerializersWithServerKill 
> intermittently fails in verifyDataSerializers
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-370
>                 URL: https://issues.apache.org/jira/browse/GEODE-370
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Dan Smith
>            Priority: Minor
>              Labels: CI
>
> Seen on a private build of git rev: 71e8dc85fd40c91ef53c2f1ee7dca5cfb082b070
> {code}
> at 
> com.gemstone.gemfire.internal.cache.tier.sockets.DataSerializerPropogationDUnitTest.testDataSerializersWithServerKill(DataSerializerPropogationDUnitTest.java:570)
> [snip]
> Caused by: junit.framework.AssertionFailedError: Event never occurred after 
> 60000 ms: expected 3 but got this 2 
> serializers=[com.gemstone.gemfire.internal.cache.tier.sockets.DSObject4@4, 
> com.gemstone.gemfire.internal.cache.tier.sockets.DSObject6@6]
>       at junit.framework.Assert.fail(Assert.java:57)
>       at junit.framework.TestCase.fail(TestCase.java:227)
>       at 
> dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1162)
>       at 
> com.gemstone.gemfire.internal.cache.tier.sockets.DataSerializerPropogationDUnitTest.verifyDataSerializers(DataSerializerPropogationDUnitTest.java:201)
>       at 
> com.gemstone.gemfire.internal.cache.tier.sockets.DataSerializerPropogationDUnitTest.verifyDataSerializers(DataSerializerPropogationDUnitTest.java:174)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to