Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #111 from jglick/MemoryAssert
[JENKINS-42189] Forcing a test failure in case of another soft leak
  • Loading branch information
jglick committed Mar 1, 2017
2 parents d59b417 + 3f263df commit 7e0b274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -63,6 +63,7 @@
</pluginRepositories>
<properties>
<jenkins.version>1.642.3</jenkins.version>
<jenkins-test-harness.version>2.19</jenkins-test-harness.version>
<npm.loglevel>--silent</npm.loglevel>
<no-test-jar>false</no-test-jar>
</properties>
Expand Down
Expand Up @@ -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);
}
}
});
Expand Down

0 comments on commit 7e0b274

Please sign in to comment.