Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2015-07-02 02:57:44 -0400
committerGreg Wilkins2015-07-02 02:57:56 -0400
commit04062a838305af6f2d3eb12e6b09bb6c2780cd5a (patch)
tree0aad0323b6cf3aa854fe65e3d0c6d4c5f65910fc /jetty-servlet
parent2d0bedd9bf5f037402243715f84267c8c82da1e1 (diff)
downloadorg.eclipse.jetty.project-04062a838305af6f2d3eb12e6b09bb6c2780cd5a.tar.gz
org.eclipse.jetty.project-04062a838305af6f2d3eb12e6b09bb6c2780cd5a.tar.xz
org.eclipse.jetty.project-04062a838305af6f2d3eb12e6b09bb6c2780cd5a.zip
Improved graceful shutdown and added tests
Diffstat (limited to 'jetty-servlet')
-rw-r--r--jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java
index 295b8eec74..37130be6a4 100644
--- a/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java
+++ b/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/AsyncServletTest.java
@@ -143,7 +143,7 @@ public class AsyncServletTest
{
_expectedCode="500 ";
String response=process("suspend=200",null);
- assertEquals("HTTP/1.1 500 Async Timeout",response.substring(0,26));
+ Assert.assertThat(response,Matchers.startsWith("HTTP/1.1 500 Async Timeout"));
assertContains(
"history: REQUEST /ctx/path/info\r\n"+
"history: initial\r\n"+

Back to the top