1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

restore tracked methods on afterTestMethod

This commit is contained in:
Roland Stengel 2018-07-02 14:03:41 +02:00
parent cc9332ae79
commit b00a8c203a

View File

@ -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()