416321 handle failure during blocked committing write
This commit is contained in:
parent
07ae3615ed
commit
eec9d405e5
|
@ -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()))
|
||||||
|
|
Loading…
Reference in New Issue