Skip to content

Commit

Permalink
Breaking unwanted grid test dependency on RC server (the removed attr…
Browse files Browse the repository at this point in the history
…ibute is not used actually)
  • Loading branch information
barancev committed Oct 10, 2015
1 parent 41bccdd commit 7f33908
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
*/
public class RemoteControlConfiguration {

public static final String KEY = RemoteControlConfiguration.class.getName() + ".config";
public static final int DEFAULT_PORT = 4444;
private static final int USE_SAME_PORT = -1;
public static final int MINUTES = 60;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import org.openqa.selenium.remote.server.testing.FakeHttpServletResponse;
import org.openqa.selenium.remote.server.testing.TestSessions;
import org.openqa.selenium.remote.server.testing.UrlInfo;
import org.openqa.selenium.server.RemoteControlConfiguration;
import org.seleniumhq.jetty9.server.handler.ContextHandler;

import java.io.IOException;
Expand Down Expand Up @@ -82,8 +81,6 @@ public ServletContext getServletContext() {
final ContextHandler.Context servletContext = new ContextHandler().getServletContext();
servletContext.setInitParameter("webdriver.server.session.timeout", "18");
servletContext.setInitParameter("webdriver.server.browser.timeout", "2");
servletContext.setAttribute(RemoteControlConfiguration.KEY,
new RemoteControlConfiguration());
return servletContext;
}

Expand Down

0 comments on commit 7f33908

Please sign in to comment.