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

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

Commit 7b3693ddc14d631200c81926c0072d1546f28169 in geode's branch 
refs/heads/develop from Donal Evans
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7b3693d ]

GEODE-9374: Use await() in RestoreRedundancyOperationDUnitTest (#6649)

 - Convert assertions to AssertJ
 - Add await() to assertions around stats

Authored-by: Donal Evans <doev...@vmware.com>

> CI Failure: RestoreRedundancyOperationDUnitTest > 
> statsAreUpdatedWhenRestoreRedundancyIsCalled
> ----------------------------------------------------------------------------------------------
>
>                 Key: GEODE-9374
>                 URL: https://issues.apache.org/jira/browse/GEODE-9374
>             Project: Geode
>          Issue Type: Bug
>    Affects Versions: 1.14.0, 1.15.0
>            Reporter: Donal Evans
>            Assignee: Donal Evans
>            Priority: Major
>              Labels: blocks-1.14.0​, flaky, pull-request-available
>             Fix For: 1.15.0
>
>
> {noformat}
> org.apache.geode.internal.cache.control.RestoreRedundancyOperationDUnitTest > 
> statsAreUpdatedWhenRestoreRedundancyIsCalled FAILED
>  org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.internal.cache.control.RestoreRedundancyOperationDUnitTest$$Lambda$87/347190495.run
>  in VM 1 running on Host 72dc24287840 with 4 VMs
>  at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
>  at org.apache.geode.test.dunit.VM.invoke(VM.java:448)
>  at org.apache.geode.test.junit.rules.VMProvider.invoke(VMProvider.java:94)
>  at 
> org.apache.geode.internal.cache.control.RestoreRedundancyOperationDUnitTest.statsAreUpdatedWhenRestoreRedundancyIsCalled(RestoreRedundancyOperationDUnitTest.java:108)
> Caused by:
>  java.lang.AssertionError: 
>  Expected: <0L>
>  but: was <1L>
>  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
>  at org.junit.Assert.assertThat(Assert.java:964)
>  at org.junit.Assert.assertThat(Assert.java:930)
>  at 
> org.apache.geode.internal.cache.control.RestoreRedundancyOperationDUnitTest.lambda$statsAreUpdatedWhenRestoreRedundancyIsCalled$bb17a952$1(RestoreRedundancyOperationDUnitTest.java:114)
> {noformat}
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-= Test Results URI 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> http://files.apachegeode-ci.info/builds/apache-support-1-14-main/1.14.0-build.0759/test-results/distributedTest/1618882514/
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Test report artifacts from this job are available at:
> http://files.apachegeode-ci.info/builds/apache-support-1-14-main/1.14.0-build.0759/test-artifacts/1618882514/distributedtestfiles-OpenJDK8-1.14.0-build.0759.tgz
> Seen in the support/1.14 pipeline. This test has never been reported to fail 
> before, so this is likely a flaky failure that could be fixed by using an 
> await() for the stat to have the expected value.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to