-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: testIssues in the test moduleIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
Rafał Malinowski opened SPR-2007 and commented
When using Spring with ant tests (inherited from AbstractTransactionalDataSourceSpringContextTests) destroy-methods aren't called, so system is full of garbage after that :(
When running with Tomcat everything works properly.
Affects: 1.2.8
Issue Links:
- @PreDestroy method in test instance not executed when run with SpringJUnit4ClassRunner [SPR-4868] #9544
@PreDestroymethod in test instance not executed when run with SpringJUnit4ClassRunner - When testing using JUnit 4 Suite, destroy-methods are called at the end of the test suite instead of per test [SPR-7377] #12035 When testing using JUnit 4 Suite, destroy-methods are called at the end of the test suite instead of per test
- Support for @DirtiesContext at the test class level [SPR-4702] #9379 Support for
@DirtiesContextat the test class level
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement