[ https://issues.apache.org/jira/browse/GEODE-4890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated GEODE-4890: ---------------------------------- Labels: ci pull-request-available (was: ci) > intermittent failure of > ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest > dataWriterCanStillOnlyWriteAfterFailover > -------------------------------------------------------------------------------------------------------------------------------- > > Key: GEODE-4890 > URL: https://issues.apache.org/jira/browse/GEODE-4890 > Project: Geode > Issue Type: Bug > Components: client/server, security > Affects Versions: 1.6.0 > Reporter: Darrel Schneider > Assignee: Jinmei Liao > Priority: Major > Labels: ci, pull-request-available > > Looking at this test on line 263 I think we just might need to have the test > wait a while for the client pool to detect that it has a new primary on the > "assertThat" line in the following block: > {noformat} > server_to_fail.invoke(() -> ClusterStartupRule.getCache().close()); // > Confirm failover VMProvider secondaryServer = > (server1.equals(server_to_fail)) ? server2 : server1; > assertThat(secondaryServer).isEqualTo(determinePrimaryServer(client)); > {noformat} > {noformat} > dataWriterCanStillOnlyWriteAfterFailover[clientVersion=130] > org.junit.ComparisonFailure: expected:<...unit.rules.MemberVM@[19582245]> but > was:<...unit.rules.MemberVM@[23c51fe4]> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at > org.apache.geode.security.ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.dataWriterCanStillOnlyWriteAfterFailover(ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java:263) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)