Skip to content
Browse files

Merge pull request #222 from oleg-nenashev/tests/JENKINS-38696-JARPre…


[JENKINS-38696] - Do not delete temporary files in Windows in PrefetchingTest.
  • Loading branch information
oleg-nenashev committed Nov 17, 2017
2 parents d27971d + 276621c commit 58e2cd2bae79315d8be544b7db8b8705f0bc9c93
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/test/java/hudson/remoting/
@@ -30,7 +30,7 @@
private Checksum sum1,sum2;

protected void setUp() throws Exception {
protected void setUp() throws Exception {

URL jar1 = getClass().getClassLoader().getResource("remoting-test-client.jar");
@@ -68,6 +68,13 @@ protected void tearDown() throws Exception {

if (Launcher.isWindows()) {
// Current Resource loader implementation keep files open even if we close the classloader.
// This check has been never working correctly in Windows.
// TODO: Fix it as a part of JENKINS-38696

// because the dir is used by FIleSystemJarCache to asynchronously load stuff
// we might fail to shut it down right away
for (int i=0; ; i++) {

0 comments on commit 58e2cd2

Please sign in to comment.
You can’t perform that action at this time.