Skip to content

Commit b39b441

Browse files
committed
testcontainers:1.19.8 - enable tests
1 parent b8d4cc8 commit b39b441

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
nginx:1-alpine-slim
2+
testcontainers/ryuk:0.10.2

tests/src/org.testcontainers/testcontainers/1.19.8/src/test/java/org_testcontainers/testcontainers/TestcontainersTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,16 @@
1717

1818
import static org.assertj.core.api.Assertions.assertThat;
1919

20-
// This test is pulling testcontainers/ryuk docker image version with many known vulnerabilities. It should be ignored until testcontainers change this image.
21-
// ISSUE: https://github.com/oracle/graalvm-reachability-metadata/issues/250
2220
class TestcontainersTest {
2321
private static final boolean DEBUG = false;
2422

25-
// DO NOT REMOVE THIS! READ THE COMMENT ABOVE THE CLASS
26-
// tests should be disabled until testconatiners/ryuk is fixed
27-
private static final boolean IS_DISABLED = true;
28-
2923
@BeforeAll
3024
static void beforeAll() {
31-
// DO NOT REMOVE THIS! READ THE COMMENT ABOVE THE CLASS
32-
if (IS_DISABLED) {
33-
return;
34-
}
3525
System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", DEBUG ? "debug" : "warn");
3626
}
3727

3828
@Test
3929
void test() throws Exception {
40-
// DO NOT REMOVE THIS! READ THE COMMENT ABOVE THE CLASS
41-
if (IS_DISABLED) {
42-
return;
43-
}
44-
4530
try (GenericContainer<?> nginx = new GenericContainer<>("nginx:1-alpine-slim")) {
4631
nginx.withExposedPorts(80).start();
4732
HttpClient httpClient = HttpClient.newBuilder().build();
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"bundles": [],
3+
"resources": {
4+
"includes": [
5+
{
6+
"pattern": "\\Qtestcontainers.properties\\E"
7+
}
8+
]
9+
}
10+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ryuk.container.image=testcontainers/ryuk:0.10.2

0 commit comments

Comments
 (0)