Skip to content
Permalink
Browse files

refs #23 Disabled JENKINS-12467. It not only does nothing at all, but…

… is harmful.
  • Loading branch information
ikedam committed May 2, 2013
1 parent 0d0c06d commit d6d62810fb800145798ef16ca072b88c0afad638
Showing with 5 additions and 10 deletions.
  1. +5 −10 src/test/java/org/jvnet/hudson/test/ExtensiableChoiceParameterJenkinsTestCase.java
@@ -25,7 +25,6 @@

import hudson.Functions;

import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.ThreadPoolExecutor;
@@ -59,17 +58,13 @@ protected ServletContext createWebServer() throws Exception
server.setHandler(context);
context.setMimeTypes(MIME_TYPES);
if(Functions.isWindows()) {
// This is a customized block.
// To avoid "requested operation can't be performed on file with user-mapped section open"
// in Windows.
// No more need to setCopyWebDir.

// This causes "requested operation can't be performed on file with user-mapped section open"
// For details, SEE JENKINS-17774.
/*
// this is only needed on Windows because of the file
// locking issue as described in JENKINS-12647
//context.setCopyWebDir(true);
@SuppressWarnings("unchecked")
Map<Object,Object> initParams = context.getInitParams();
initParams.put("useFileMappedBuffer", "false");
context.setCopyWebDir(true);
*/
}

SocketConnector connector = new SocketConnector();

0 comments on commit d6d6281

Please sign in to comment.