From 92af54c3fcf250625c985618bc3c3b57555c88a9 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Tue, 22 Jan 2013 08:58:35 +1100 Subject: [PATCH] Make IdleTimeoutTest jdk1.5 compliant --- .../src/test/java/org/eclipse/jetty/client/IdleTimeoutTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/IdleTimeoutTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/IdleTimeoutTest.java index d05e46f13e6..930a378d284 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/IdleTimeoutTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/IdleTimeoutTest.java @@ -42,7 +42,7 @@ public class IdleTimeoutTest final HttpClient client = new HttpClient(); client.setMaxConnectionsPerAddress(4); client.setConnectorType(HttpClient.CONNECTOR_SOCKET); - client.setTimeout(TimeUnit.DAYS.toMillis(1)); // very long timeout on data + client.setTimeout(TimeUnit.SECONDS.toMillis(86400)); // very long timeout on data client.setIdleTimeout(500); // very short idle timeout client.start();