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-1402) checkOrphans should not be called in tearDown
Date Wed, 18 May 2016 17:05:13 GMT


ASF subversion and git services commented on GEODE-1402:

Commit bb6414944ced9b73c5f68c8b42e54f059eb1b744 in incubator-geode's branch refs/heads/feature/GEODE-1392
from [~dschneider]
[;h=bb64149 ]

GEODE-1402: use preTearDownAssertions to call checkOrphans

> checkOrphans should not be called in tearDown
> ---------------------------------------------
>                 Key: GEODE-1402
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: offheap
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>             Fix For: 1.0.0-incubating.M3
> Some unit tests currently call checkOrphans in tearDown. The problem with doing this
is if checkOrphans detects an orphan it will throw an exception. This will cause other tearDown
tasks to not be done which can cause later unit tests to fail because the previous test did
not get to clean everything up.

This message was sent by Atlassian JIRA

View raw message