diff --git a/test/groovy/util/LibraryLoadingTestExecutionListener.groovy b/test/groovy/util/LibraryLoadingTestExecutionListener.groovy index d8dd628f6..1110ca3d0 100644 --- a/test/groovy/util/LibraryLoadingTestExecutionListener.groovy +++ b/test/groovy/util/LibraryLoadingTestExecutionListener.groovy @@ -138,6 +138,9 @@ class LibraryLoadingTestExecutionListener extends AbstractTestExecutionListener helper.clearAllowedMethodCallbacks(LibraryLoadingTestExecutionListener.TRACKED_ON_METHODS) LibraryLoadingTestExecutionListener.TRACKED_ON_METHODS.clear() + helper.putAllAllowedMethodCallbacks(LibraryLoadingTestExecutionListener.RESTORE_ON_METHODS) + LibraryLoadingTestExecutionListener.RESTORE_ON_METHODS.clear() + LibraryLoadingTestExecutionListener.START_METHOD_TRACKING = false testInstance.getNullScript().commonPipelineEnvironment.reset()