416321 handle failure during blocked committing write

This commit is contained in:
Greg Wilkins 2013-09-02 14:56:22 +10:00
parent 07ae3615ed
commit eec9d405e5
1 changed files with 1 additions and 8 deletions

View File

@ -686,19 +686,12 @@ public abstract class HttpServerTestBase extends HttpServerTestFixture
is.read(buf); is.read(buf);
// sleep to ensure server is blocking // sleep to ensure server is blocking
Thread.sleep(250); Thread.sleep(500);
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
Thread.sleep(20000);
System.err.println("YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY");
// Close the client // Close the client
client.close(); client.close();
} }
Thread.sleep(20000);
System.err.println("ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ");
Thread.sleep(200); Thread.sleep(200);
// check server is still handling requests quickly // check server is still handling requests quickly
try (Socket client = newSocket(_serverURI.getHost(), _serverURI.getPort())) try (Socket client = newSocket(_serverURI.getHost(), _serverURI.getPort()))