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-156) unit tests that call pauseIfNecessary will intermittently fail
Date Mon, 27 Jul 2015 23:20:05 GMT


ASF subversion and git services commented on GEODE-156:

Commit 73d0dcd2ae7c4d3ffcd490472d88faf3ec264885 in incubator-geode's branch refs/heads/feature/GEODE-77
from [~dschneider]
[;h=73d0dcd ]

GEODE-156: fix unit tests that call pauseIfNecessary

all calls to pauseIfNecessary have been changed to flushIfNecessary.
The new flushIfNecessary method uses StateFlushOperation.

> unit tests that call pauseIfNecessary will intermittently fail
> --------------------------------------------------------------
>                 Key: GEODE-156
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
> Many of the unit tests in MultiVMRegionTestCase call pauseIfNecessary.
> They do this to allow previous operations done on a no-ack region to complete.
> But since the pause is simply a sleep it is possible for these tests to not sleep long
enough and still fail.
> They may also sleep longer than is needed.
> We have a StateFlushOperation that can be used by the sender to wait until all the no-ack
ops it did on a particular region have completed.

This message was sent by Atlassian JIRA

View raw message