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 Tue, 17 May 2016 16:56:12 GMT


ASF subversion and git services commented on GEODE-1402:

Commit 11da98d4a7139b7c049bc012b7a3f2caaede184a in incubator-geode's branch refs/heads/develop
from [~dschneider]
[;h=11da98d ]

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