Skip to content

Commit 072061e

Browse files
committed
Update to testcontainers v2
1 parent 0960ed9 commit 072061e

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

testcontainers-selenium/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,6 @@
5757
<groupId>org.testcontainers</groupId>
5858
<artifactId>testcontainers</artifactId>
5959
<version>2.0.0</version>
60-
<exclusions>
61-
<!-- No JUnit 4 -->
62-
<exclusion>
63-
<groupId>junit</groupId>
64-
<artifactId>junit</artifactId>
65-
</exclusion>
66-
</exclusions>
67-
</dependency>
68-
<dependency>
69-
<groupId>software.xdev</groupId>
70-
<artifactId>testcontainers-junit4-mock</artifactId>
71-
<version>1.0.2</version>
7260
</dependency>
7361

7462
<!-- Testcontainers is using outdated v1 -->

testcontainers-selenium/src/main/java/software/xdev/testcontainers/selenium/containers/browser/BrowserWebDriverContainer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
import org.testcontainers.images.RemoteDockerImage;
5353
import org.testcontainers.lifecycle.TestDescription;
5454
import org.testcontainers.lifecycle.TestLifecycleAware;
55-
import org.testcontainers.shaded.org.apache.commons.io.FileUtils;
5655
import org.testcontainers.utility.DockerImageName;
5756

5857
import com.github.dockerjava.api.command.InspectContainerResponse;
@@ -301,7 +300,7 @@ protected void configureShm()
301300
}
302301
else
303302
{
304-
this.withSharedMemorySize(512 * FileUtils.ONE_MB);
303+
this.withSharedMemorySize(520_000_000L);
305304
}
306305
}
307306
}

0 commit comments

Comments
 (0)