mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 21:09:13 +00:00
ProxySPDYToSPDYLoadTest small change for shutting down the test
This commit is contained in:
parent
fb04ee8fbd
commit
af82e49835
@ -149,16 +149,10 @@ public class ProxySPDYToSPDYLoadTest
|
||||
@After
|
||||
public void destroy() throws Exception
|
||||
{
|
||||
if (server != null)
|
||||
{
|
||||
server.stop();
|
||||
server.join();
|
||||
}
|
||||
if (proxy != null)
|
||||
{
|
||||
proxy.stop();
|
||||
proxy.join();
|
||||
}
|
||||
server.stop();
|
||||
server.join();
|
||||
proxy.stop();
|
||||
proxy.join();
|
||||
factory.stop();
|
||||
}
|
||||
|
||||
@ -270,7 +264,7 @@ public class ProxySPDYToSPDYLoadTest
|
||||
}
|
||||
|
||||
@Override
|
||||
public StreamFrameListener onSyn (Stream stream, SynInfo synInfo)
|
||||
public StreamFrameListener onSyn(Stream stream, SynInfo synInfo)
|
||||
{
|
||||
Fields requestHeaders = synInfo.getHeaders();
|
||||
Assert.assertNotNull(requestHeaders.get("via"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user