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

ASF subversion and git services commented on GEODE-4890:
--------------------------------------------------------

Commit b490673e30fd096dbf2dd76e839ea497dac89122 in geode's branch 
refs/heads/develop from [~jinmeiliao]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=b490673 ]

GEODE-4890: use awaitility to reduce flakiness. (#1841)



> 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
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to