geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-1991) CI Failure: HARegionQueueJUnitTest.testNoExpiryOfThreadId
Date Thu, 13 Oct 2016 18:19:20 GMT


ASF subversion and git services commented on GEODE-1991:

Commit c2ddc96c9e1bbbfaec156e1a9985979bda7b3e36 in incubator-geode's branch refs/heads/develop
from [~upthewaterspout]
[;h=c2ddc96 ]

GEODE-1991: Removing sleeps from HARegionQueueJUnitTest

Getting rid of a bunch of sleeps in HARegionQueueJUnitTest to fix a
bunch of tests with race conditions. Tests of expiration were sleeping
for short amounts of time and then asserting that expiration happened or
didn't. Changing these sleeps to use Awailitily.

> CI Failure: HARegionQueueJUnitTest.testNoExpiryOfThreadId
> ---------------------------------------------------------
>                 Key: GEODE-1991
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: client queues
>            Reporter: Dan Smith
>              Labels: ci
> This test failed with 9189e3bb95fcd8547327c6047dafea5e0fd76dbb.
> {noformat}
> org.apache.geode.internal.cache.ha.HARegionQueueJUnitTest > testNoExpiryOfThreadId
>     java.lang.AssertionError:  Expected region size not to be zero since expiry time
has not been exceeded but it is not so 
>         at
>         at org.junit.Assert.assertTrue(
>         at org.apache.geode.internal.cache.ha.HARegionQueueJUnitTest.testNoExpiryOfThreadId(
> {noformat}
> It looks like this is probably just a racy test. It sets an expiration of 3 seconds,
sleeps for 3 seconds, and expects the entry to not be expired.

This message was sent by Atlassian JIRA

View raw message