cleanup after merge
This commit is contained in:
parent
eb5bc1c0a7
commit
7fd04a186f
|
@ -36,9 +36,10 @@ public class IdleTimeoutTest
|
||||||
public int _repetitions = 30;
|
public int _repetitions = 30;
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
//@Test
|
@Test
|
||||||
public void testIdleTimeoutOnBlockingConnector() throws Exception
|
public void testIdleTimeoutOnBlockingConnector() throws Exception
|
||||||
{
|
{
|
||||||
|
/* TODO port to new client
|
||||||
final HttpClient client = new HttpClient();
|
final HttpClient client = new HttpClient();
|
||||||
client.setMaxConnectionsPerAddress(4);
|
client.setMaxConnectionsPerAddress(4);
|
||||||
client.setConnectorType(HttpClient.CONNECTOR_SOCKET);
|
client.setConnectorType(HttpClient.CONNECTOR_SOCKET);
|
||||||
|
@ -76,5 +77,7 @@ public class IdleTimeoutTest
|
||||||
if (!counter.await(80, TimeUnit.SECONDS))
|
if (!counter.await(80, TimeUnit.SECONDS))
|
||||||
Assert.fail("Test did not complete in time");
|
Assert.fail("Test did not complete in time");
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -298,7 +298,7 @@ public class GzipTester
|
||||||
private void assertResponseHeaders(int expectedFilesize, int status, HttpTester.Response response)
|
private void assertResponseHeaders(int expectedFilesize, int status, HttpTester.Response response)
|
||||||
{
|
{
|
||||||
Assert.assertThat("Response.status",response.getStatus(),is(status));
|
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))
|
if (expectedFilesize != (-1))
|
||||||
{
|
{
|
||||||
Assert.assertEquals(expectedFilesize,response.getContentBytes().length);
|
Assert.assertEquals(expectedFilesize,response.getContentBytes().length);
|
||||||
|
|
|
@ -201,6 +201,12 @@
|
||||||
<artifactId>websocket-servlet</artifactId>
|
<artifactId>websocket-servlet</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
||||||
|
<artifactId>websocket-server</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.eclipse.jetty</groupId>
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
<artifactId>jetty-webapp</artifactId>
|
<artifactId>jetty-webapp</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue