From 5a157a2dcb170732d0cfbe051ac3bb82782a4b3f Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 20 Oct 2009 16:39:46 +0000 Subject: [PATCH] fixed a test failure. We moved the update centers to hudson-ci.org. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22959 71c3de6d-444a-0410-be80-ed276b4c234a --- .../main/java/org/jvnet/hudson/test/JavaNetReverseProxy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/main/java/org/jvnet/hudson/test/JavaNetReverseProxy.java b/test/src/main/java/org/jvnet/hudson/test/JavaNetReverseProxy.java index 3deb71c834..dc08169961 100644 --- a/test/src/main/java/org/jvnet/hudson/test/JavaNetReverseProxy.java +++ b/test/src/main/java/org/jvnet/hudson/test/JavaNetReverseProxy.java @@ -81,7 +81,7 @@ public class JavaNetReverseProxy extends HttpServlet { File cache = new File(cacheFolder, d); if(!cache.exists()) { - URL url = new URL("https://hudson.dev.java.net/" + path); + URL url = new URL("http://hudson-ci.org/" + path); FileUtils.copyURLToFile(url,cache); } @@ -105,7 +105,7 @@ public class JavaNetReverseProxy extends HttpServlet { public static synchronized JavaNetReverseProxy getInstance() throws Exception { if(INSTANCE==null) // TODO: think of a better location --- ideally inside the target/ dir so that clean would wipe them out - INSTANCE = new JavaNetReverseProxy(new File(new File(System.getProperty("java.io.tmpdir")),"java.net-cache")); + INSTANCE = new JavaNetReverseProxy(new File(new File(System.getProperty("java.io.tmpdir")),"hudson-ci.org-cache")); return INSTANCE; } }