Skip to content

Commit

Permalink
Removed unused test dependency + fixed typo
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Nioche <[email protected]>
  • Loading branch information
jnioche committed Nov 8, 2023
1 parent 43da162 commit 3cf66c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
12 changes: 0 additions & 12 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,18 +261,6 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mockserver</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-client-java</artifactId>
<version>5.15.0</version>
</dependency>

</dependencies>
<dependencyManagement>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import com.digitalpebble.stormcrawler.Metadata;
import com.digitalpebble.stormcrawler.protocol.ProtocolResponse;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.OutputStream;
import java.net.ServerSocket;
Expand All @@ -28,7 +29,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.mutable.MutableBoolean;
import org.apache.storm.Config;
import org.apache.storm.utils.MutableObject;
Expand All @@ -37,7 +37,11 @@
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.AbstractHandler;
import org.eclipse.jetty.server.handler.HandlerList;
import org.junit.*;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.Timeout;
import org.openqa.selenium.chrome.ChromeOptions;
import org.slf4j.Logger;
Expand Down Expand Up @@ -119,7 +123,7 @@ public RemoteDriverProtocol getProtocol() {
capabilities.put("goog:chromeOptions", m);

Config conf = new Config();
conf.put("http.agent.name", "this.is.ond/hubly.a.test");
conf.put("http.agent.name", "this.is.only.a.test");
conf.put("selenium.addresses", chrome.getSeleniumAddress().toExternalForm());

Map<String, Object> timeouts = new HashMap<>();
Expand Down

0 comments on commit 3cf66c4

Please sign in to comment.