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 930a378d284..e1c5225c46d 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 @@ -36,9 +36,10 @@ public class IdleTimeoutTest public int _repetitions = 30; @Ignore - //@Test + @Test public void testIdleTimeoutOnBlockingConnector() throws Exception { + /* TODO port to new client final HttpClient client = new HttpClient(); client.setMaxConnectionsPerAddress(4); client.setConnectorType(HttpClient.CONNECTOR_SOCKET); @@ -75,6 +76,8 @@ public class IdleTimeoutTest runner.start(); if (!counter.await(80, TimeUnit.SECONDS)) Assert.fail("Test did not complete in time"); + + */ } } diff --git a/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/gzip/GzipTester.java b/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/gzip/GzipTester.java index 1013462a2cc..a40a8372e2e 100644 --- a/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/gzip/GzipTester.java +++ b/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/gzip/GzipTester.java @@ -298,7 +298,7 @@ public class GzipTester private void assertResponseHeaders(int expectedFilesize, int status, HttpTester.Response response) { Assert.assertThat("Response.status",response.getStatus(),is(status)); - Assert.assertThat("Response.header[Content-Encoding]",response.getHeader("Content-Encoding"),not(containsString(compressionType))); + Assert.assertThat("Response.header[Content-Encoding]",response.get("Content-Encoding"),not(containsString(compressionType))); if (expectedFilesize != (-1)) { Assert.assertEquals(expectedFilesize,response.getContentBytes().length); diff --git a/tests/test-webapps/test-jetty-webapp/pom.xml b/tests/test-webapps/test-jetty-webapp/pom.xml index eb2b19f1459..d7408ff771c 100644 --- a/tests/test-webapps/test-jetty-webapp/pom.xml +++ b/tests/test-webapps/test-jetty-webapp/pom.xml @@ -201,6 +201,12 @@ websocket-servlet ${project.version} + + org.eclipse.jetty.websocket + websocket-server + ${project.version} + test + org.eclipse.jetty jetty-webapp