cleanup after merge

This commit is contained in:
Greg Wilkins 2013-01-25 11:47:47 +11:00
parent eb5bc1c0a7
commit 7fd04a186f
3 changed files with 11 additions and 2 deletions

View File

@ -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");
*/
}
}

View File

@ -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);

View File

@ -201,6 +201,12 @@
<artifactId>websocket-servlet</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>websocket-server</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>