Permalink
Browse files

[JENKINS-42189] Using jenkinsci/jenkins-test-harness#50 to amend #109

…to fail if we get another soft leak.
  • Loading branch information...
jglick committed Feb 25, 2017
1 parent d59b417 commit e6038f2494d55f13e2294f04c720f6fdce28508a
Showing with 2 additions and 1 deletion.
  1. +1 −0 pom.xml
  2. +1 −1 src/test/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecutionTest.java
@@ -63,6 +63,7 @@
</pluginRepositories>
<properties>
<jenkins.version>1.642.3</jenkins.version>
<jenkins-test-harness.version>2.19-20170224.235836-2</jenkins-test-harness.version> <!-- TODO https://github.com/jenkinsci/jenkins-test-harness/pull/50 -->
<npm.loglevel>--silent</npm.loglevel>
<no-test-jar>false</no-test-jar>
</properties>
@@ -118,7 +118,7 @@ public static void register(Object o) {
clearInvocationCaches.invoke(metaClass);
}
for (WeakReference<ClassLoader> loaderRef : LOADERS) {
MemoryAssert.assertGC(loaderRef);
MemoryAssert.assertGC(loaderRef, false);
}
}
});

0 comments on commit e6038f2

Please sign in to comment.