Skip to content

Commit

Permalink
fix for GRAILS-9582 "Integration Test Fails with Multiple Datasources…
Browse files Browse the repository at this point in the history
… on Interactive Mode"
  • Loading branch information
graemerocher committed Dec 18, 2013
1 parent 242eb57 commit d9bb16f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class IntegrationTestPhaseConfigurer extends DefaultTestPhaseConfigurer{
@Override
void cleanup(Binding testExecutionContext, Map<String, Object> testOptions) {
currentApplicationContext = null
PersistenceContextInterceptorExecutor.initPersistenceContext(appCtx)
PersistenceContextInterceptorExecutor.destroyPersistenceContext(appCtx)
appCtx?.close()
registryCleaner.clean()
GroovySystem.metaClassRegistry.removeMetaClassRegistryChangeEventListener(registryCleaner)
Expand Down

0 comments on commit d9bb16f

Please sign in to comment.