fix SimpleHTTPBenchmarkTest
This commit is contained in:
parent
bfb90523d6
commit
2ef4a4fb1c
|
@ -35,6 +35,7 @@ import org.eclipse.jetty.spdy.api.Session;
|
||||||
import org.eclipse.jetty.spdy.api.Stream;
|
import org.eclipse.jetty.spdy.api.Stream;
|
||||||
import org.eclipse.jetty.spdy.api.StreamFrameListener;
|
import org.eclipse.jetty.spdy.api.StreamFrameListener;
|
||||||
import org.eclipse.jetty.spdy.api.SynInfo;
|
import org.eclipse.jetty.spdy.api.SynInfo;
|
||||||
|
import org.eclipse.jetty.spdy.http.HTTPSPDYHeader;
|
||||||
import org.eclipse.jetty.util.Fields;
|
import org.eclipse.jetty.util.Fields;
|
||||||
import org.eclipse.jetty.util.log.Log;
|
import org.eclipse.jetty.util.log.Log;
|
||||||
import org.eclipse.jetty.util.log.Logger;
|
import org.eclipse.jetty.util.log.Logger;
|
||||||
|
@ -81,7 +82,7 @@ public class SimpleHTTPBenchmarkTest extends AbstractHTTPSPDYTest
|
||||||
assertThat(httpRequest.getHeader("host"), is("localhost:" + connector.getLocalPort()));
|
assertThat(httpRequest.getHeader("host"), is("localhost:" + connector.getLocalPort()));
|
||||||
httpResponse.getOutputStream().write(data);
|
httpResponse.getOutputStream().write(data);
|
||||||
}
|
}
|
||||||
}), null);
|
}, 0), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue