GitHub user hardikar opened a pull request:

    https://github.com/apache/incubator-geode/pull/72

    GEODE-601: Fix intermittent exception in DiskRegionJUnitTest.

    An expected DiskAccessException causes the cache to close
    asynchronously. That leads to a race condition during test tearDown,
    between checking that the cache is closed and it's access. Now wait
    for the cache to close before tearDown.
    Refactors:
     Moved putSuccessful and exceptionOccurred inside Puts
     Remove unnecessary thread creation for Puts in DiskRegionJUnitTest
     Expose _testHandleDiskAccessException through method

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hardikar/incubator-geode feature/GEODE-601

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-geode/pull/72.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #72
    
----
commit 6f61718ea308e61466b98cd54124ebe387307da2
Author: Shreedhar Hardikar <[email protected]>
Date:   2016-01-07T22:01:21Z

    GEODE-601: Fix intermittent exception in DiskRegionJUnitTest.
    
    An expected DiskAccessException causes the cache to close
    asynchronously. That leads to a race condition during test tearDown,
    between checking that the cache is closed and it's access. Now wait
    for the cache to close before tearDown.
    Refactors:
     Moved putSuccessful and exceptionOccurred inside Puts
     Remove unnecessary thread creation for Puts in DiskRegionJUnitTest
     Expose _testHandleDiskAccessException through method

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to