[ https://issues.apache.org/jira/browse/GEODE-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860361#comment-15860361 ]
ASF subversion and git services commented on GEODE-2458: -------------------------------------------------------- Commit d4f8c80683c428dca8b2a6ec72bc8197c2d1845e in geode's branch refs/heads/feature/GEODE-2456 from [~apa...@the9muses.net] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=d4f8c80 ] GEODE-2458: await expected JMX notifications in verifyMemberNotifications > RegionManagementDUnitTest fails with AssertionError in > verifyMemberNotifications > -------------------------------------------------------------------------------- > > Key: GEODE-2458 > URL: https://issues.apache.org/jira/browse/GEODE-2458 > Project: Geode > Issue Type: Bug > Components: management, tests > Reporter: Kirk Lund > Assignee: Kirk Lund > Labels: Flaky > > This appears to be a race condition. The assertion finds 5 members when 6 is > expected and then lists the members as part of the assertion message which > then shows 6 members. > {noformat} > org.apache.geode.management.RegionManagementDUnitTest > > testFixedPRRegionMBean FAILED > org.apache.geode.test.dunit.RMIException: While invoking > org.apache.geode.test.dunit.NamedRunnable.run in VM 0 running on Host > 242824700ff7 with 4 VMs > at org.apache.geode.test.dunit.VM.invoke(VM.java:377) > at org.apache.geode.test.dunit.VM.invoke(VM.java:347) > at org.apache.geode.test.dunit.VM.invoke(VM.java:280) > at > org.apache.geode.management.RegionManagementDUnitTest.verifyMemberNotifications(RegionManagementDUnitTest.java:580) > at > org.apache.geode.management.RegionManagementDUnitTest.testFixedPRRegionMBean(RegionManagementDUnitTest.java:227) > Caused by: > java.lang.AssertionError: > Expected size:<6> but was:<5> in: > > <[javax.management.Notification[source=172.17.0.4(161)<v37>-32770][type=gemfire.distributedsystem.cache.region.created][message=Region > Created With Name /MANAGEMENT_FIXED_PR], > > javax.management.Notification[source=172.17.0.4(166)<v38>-32771][type=gemfire.distributedsystem.cache.region.created][message=Region > Created With Name /MANAGEMENT_FIXED_PR], > > javax.management.Notification[source=172.17.0.4(171)<v39>-32772][type=gemfire.distributedsystem.cache.region.created][message=Region > Created With Name /MANAGEMENT_FIXED_PR], > > javax.management.Notification[source=172.17.0.4(161)<v37>-32770][type=gemfire.distributedsystem.cache.region.closed][message=Region > Destroyed/Closed With Name /MANAGEMENT_FIXED_PR], > > javax.management.Notification[source=172.17.0.4(166)<v38>-32771][type=gemfire.distributedsystem.cache.region.closed][message=Region > Destroyed/Closed With Name /MANAGEMENT_FIXED_PR], > > javax.management.Notification[source=172.17.0.4(171)<v39>-32772][type=gemfire.distributedsystem.cache.region.closed][message=Region > Destroyed/Closed With Name /MANAGEMENT_FIXED_PR]]> > at > org.apache.geode.management.RegionManagementDUnitTest.lambda$verifyMemberNotifications$3d0515b3$1(RegionManagementDUnitTest.java:582) > {noformat} > Each of these tests call verifyMemberNotifications and may fail with this > timing failure: > * testDistributedRegion > * testFixedPRRegionMBean > * testPartitionedRegion -- This message was sent by Atlassian JIRA (v6.3.15#6346)