Merge pull request #779 from ikedam/feature/JENKINS-17774-2

[FIXED JENKINS-17774] Plugin tests often fails in Windows (just reverting JENKINS-12647).
This commit is contained in:
Jesse Glick committed 2013-05-22 11:39:32 -07:00
commit e3fee0aa36
1 file changed
-5
@@ -506,11 +506,6 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
context.setConfigurations(new Configuration[]{new WebXmlConfiguration(), new NoListenerConfiguration()});
server.setHandler(context);
context.setMimeTypes(MIME_TYPES);
if(Functions.isWindows()) {
// this is only needed on Windows because of the file
// locking issue as described in JENKINS-12647
context.setCopyWebDir(true);
}
SocketConnector connector = new SocketConnector();
connector.setHeaderBufferSize(12*1024); // use a bigger buffer as Stapler traces can get pretty large on deeply nested URL