[ https://issues.apache.org/jira/browse/GEODE-5637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595718#comment-16595718 ]
Kirk Lund commented on GEODE-5637: ---------------------------------- This test is super flaky and seems to consistently fail on Windows. It's trying to use SystemErrRule to test logging which doesn't really work very well. I think the test needs to be rewritten with a Log4J2 Appender instead of trying to use stdout or stderr. I'm going to disable it with Ignore until I can get this rewritten. > Flaky: SingleHopClientExecutorSubmitTaskWithExceptionTest fails intermittently > ------------------------------------------------------------------------------ > > Key: GEODE-5637 > URL: https://issues.apache.org/jira/browse/GEODE-5637 > Project: Geode > Issue Type: Bug > Components: tests > Reporter: Kirk Lund > Assignee: Kirk Lund > Priority: Major > Labels: flaky, pull-request-available, swat > Time Spent: 0.5h > Remaining Estimate: 0h > > This test should also be an integration test but it's in the test src set. > {noformat} > > Task :geode-core:test > org.apache.geode.cache.client.internal.SingleHopClientExecutorSubmitTaskWithExceptionTest > > submittedTaskShouldLogFailure FAILED > org.awaitility.core.ConditionTimeoutException: Assertion condition > defined as a lambda expression in > org.apache.geode.cache.client.internal.SingleHopClientExecutorSubmitTaskWithExceptionTest > > Expecting: > <""> > to contain: > <"I am expecting this to be logged"> within 2 minutes. > at > org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:145) > at > org.awaitility.core.AssertionCondition.await(AssertionCondition.java:122) > at > org.awaitility.core.AssertionCondition.await(AssertionCondition.java:32) > at > org.awaitility.core.ConditionFactory.until(ConditionFactory.java:890) > at > org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:711) > at > org.apache.geode.cache.client.internal.SingleHopClientExecutorSubmitTaskWithExceptionTest.submittedTaskShouldLogFailure(SingleHopClientExecutorSubmitTaskWithExceptionTest.java:54) > Caused by: > java.lang.AssertionError: > Expecting: > <""> > to contain: > <"I am expecting this to be logged"> > at > org.apache.geode.cache.client.internal.SingleHopClientExecutorSubmitTaskWithExceptionTest.lambda$submittedTaskShouldLogFailure$1(SingleHopClientExecutorSubmitTaskWithExceptionTest.java:54) > 4490 tests completed, 1 failed, 9 skipped > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)