Skip to content

Commit 7a7a6fe

Browse files
committed
[java] Removing ParallelSessionsTest from remote tests
This scenario is already covered by StressTest.java
1 parent 3d21349 commit 7a7a6fe

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

java/test/org/openqa/selenium/remote/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ load("@rules_jvm_external//:defs.bzl", "artifact")
22
load("//java:defs.bzl", "java_selenium_test_suite", "java_test_suite")
33

44
REMOTE_TESTS = [
5-
"ParallelSessionsTest.java",
65
"RemoteWebDriverScreenshotTest.java",
76
]
87

java/test/org/openqa/selenium/remote/ParallelSessionsTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
package org.openqa.selenium.remote;
1919

20+
import static java.util.concurrent.TimeUnit.SECONDS;
21+
import static org.openqa.selenium.testing.Safely.safelyCall;
22+
2023
import org.junit.Test;
2124
import org.openqa.selenium.WebDriver;
2225
import org.openqa.selenium.testing.JUnit4TestBase;
@@ -28,11 +31,9 @@
2831
import java.util.concurrent.Executors;
2932
import java.util.concurrent.Future;
3033

31-
import static java.util.concurrent.TimeUnit.SECONDS;
32-
import static org.openqa.selenium.testing.Safely.safelyCall;
33-
3434
public class ParallelSessionsTest extends JUnit4TestBase {
35-
private ExecutorService service = Executors.newFixedThreadPool(3);
35+
36+
private final ExecutorService service = Executors.newFixedThreadPool(3);
3637

3738
@Test
3839
public void shouldBeAbleToRunMultipleBrowsersAtTheSameTime() throws Exception {

0 commit comments

Comments
 (0)