It was a bad idea to close server connector :(
@@ -223,7 +223,7 @@ public void start() {
httpConfig.setSecureScheme("https");
httpConfig.setSecurePort(securePort);
- try (ServerConnector http = new ServerConnector(server, new HttpConnectionFactory(httpConfig))) {
+ ServerConnector http = new ServerConnector(server, new HttpConnectionFactory(httpConfig));
http.setPort(port);
http.setIdleTimeout(500000);
@@ -256,7 +256,6 @@ public void start() {
throw new RuntimeException(e);
}
}
- }
protected Path getKeyStore() {
return InProject.locate("java/client/test/org/openqa/selenium/environment/webserver/keystore");
