[
https://issues.apache.org/jira/browse/GEODE-10052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493561#comment-17493561
]
ASF subversion and git services commented on GEODE-10052:
---------------------------------------------------------
Commit 920268b675ebb515a38a1c1e4ead980d29f934ef in geode's branch
refs/heads/develop from Donal Evans
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=920268b ]
GEODE-10052: Fix flakiness in OutOfMemoryDUnitTest (#7369)
- Add larger values to get over critical memory threshold faster and
make it more likely to stay there
- Force GC before each attempt to add a large value to make it less
likely that we'll drop back below critical threshold due to small
objects being GCd while over critical threshold
> CI Failure: OutOfMemoryDUnitTest tests of Publish command fail expecting
> exception that was not thrown
> ------------------------------------------------------------------------------------------------------
>
> Key: GEODE-10052
> URL: https://issues.apache.org/jira/browse/GEODE-10052
> Project: Geode
> Issue Type: Bug
> Components: redis
> Affects Versions: 1.16.0
> Reporter: Hale Bales
> Assignee: Donal Evans
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0
>
>
> There were three failures within a couple of days. They are all in publish
> tests.
> {code:java}
> OutOfMemoryDUnitTest > shouldReturnOOMError_forPublish_whenThresholdReached
> FAILED
> java.lang.AssertionError:
> Expecting code to raise a throwable.
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.addMultipleKeysToServer1UntilOOMExceptionIsThrown(OutOfMemoryDUnitTest.java:357)
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.fillServer1Memory(OutOfMemoryDUnitTest.java:344)
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.shouldReturnOOMError_forPublish_whenThresholdReached(OutOfMemoryDUnitTest.java:210)
> {code}
> {code:java}
> OutOfMemoryDUnitTest > shouldReturnOOMError_forPublish_whenThresholdReached
> FAILED
> java.lang.AssertionError:
> Expecting code to raise a throwable.
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.addMultipleKeysToServer1UntilOOMExceptionIsThrown(OutOfMemoryDUnitTest.java:357)
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.fillServer1Memory(OutOfMemoryDUnitTest.java:344)
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.shouldReturnOOMError_forPublish_whenThresholdReached(OutOfMemoryDUnitTest.java:210)
> {code}
> {code:java}
> OutOfMemoryDUnitTest > shouldAllowPublish_afterDroppingBelowCriticalThreshold
> FAILED
> org.awaitility.core.ConditionTimeoutException: Assertion condition
> defined as a org.apache.geode.redis.OutOfMemoryDUnitTest
> Expecting code to raise a throwable within 5 minutes.
> at
> org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:164)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
> at
> org.awaitility.core.ConditionFactory.until(ConditionFactory.java:939)
> at
> org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:723)
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.shouldAllowPublish_afterDroppingBelowCriticalThreshold(OutOfMemoryDUnitTest.java:328)
> Caused by:
> java.lang.AssertionError:
> Expecting code to raise a throwable.
> at
> org.apache.geode.redis.OutOfMemoryDUnitTest.lambda$shouldAllowPublish_afterDroppingBelowCriticalThreshold$36(OutOfMemoryDUnitTest.java:328)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)