Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.testcontainers.containers;

import com.github.dockerjava.api.command.InspectImageResponse;
import org.junit.Ignore;
import org.junit.Test;
import org.testcontainers.DockerClientFactory;
import org.testcontainers.containers.output.OutputFrame.OutputType;
Expand All @@ -12,6 +13,7 @@

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

@Ignore("Jib doesn't work with latest Docker version provided by GH Actions. Jib should be updated")
public class JibTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public static String[] parameters() {
"alpine:3.17",
"alpine", // omitting the tag should work and default to latest
"alpine@sha256:1775bebec23e1f3ce486989bfc9ff3c4e951690df84aa9f926497d82f2ffca9d",
"quay.io/testcontainers/ryuk:latest",
"quay.io/testcontainers/ryuk:0.2.3",
"quay.io/testcontainers/ryuk@sha256:bb5a635cac4bd96c93cc476969ce11dc56436238ec7cd028d0524462f4739dd9",
"docker.io/testcontainers/ryuk:latest",
"docker.io/testcontainers/ryuk:0.7.0",
"docker.io/testcontainers/ryuk@sha256:bcbee39cd601396958ba1bd06ea14ad64ce0ea709de29a427d741d1f5262080a",
// "ibmcom/db2express-c", // Big image for testing with slow networks
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ public class DependsOnTest {
public GenericContainer<?> redis = new GenericContainer<>("redis:6-alpine").withExposedPorts(6379);

@Rule
public GenericContainer<?> nginx = new GenericContainer<>("nginx:1.9.4").dependsOn(redis).withExposedPorts(80);
public GenericContainer<?> nginx = new GenericContainer<>("nginx:1.27.0-alpine3.19-slim")
.dependsOn(redis)
.withExposedPorts(80);

// }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ public class WaitStrategiesTest {

@Rule
// waitForNetworkListening {
public GenericContainer nginx = new GenericContainer(DockerImageName.parse("nginx:1.9.4")) //
public GenericContainer nginx = new GenericContainer(DockerImageName.parse("nginx:1.27.0-alpine3.19-slim")) //
.withExposedPorts(80);

// }

@Rule
// waitForSimpleHttp {
public GenericContainer nginxWithHttpWait = new GenericContainer(DockerImageName.parse("nginx:1.9.4"))
public GenericContainer nginxWithHttpWait = new GenericContainer(
DockerImageName.parse("nginx:1.27.0-alpine3.19-slim")
)
.withExposedPorts(80)
.waitingFor(Wait.forHttp("/"));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ChromaDBContainerTest {
@Test
public void test() {
try ( // container {
ChromaDBContainer chroma = new ChromaDBContainer("chromadb/chroma:0.4.22")
ChromaDBContainer chroma = new ChromaDBContainer("chromadb/chroma:0.4.23")
// }
) {
chroma.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
import com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput;
import com.amazonaws.services.dynamodbv2.model.ScalarAttributeType;
import com.amazonaws.services.dynamodbv2.model.TableDescription;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.testcontainers.utility.DockerImageName;

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

@Ignore("Image is not compatible with the latest Docker version provided by GH Actions")
public class DynaliteContainerTest {

private static final DockerImageName DYNALITE_IMAGE = DockerImageName.parse(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

public class SimpleNginxTest {

private static final DockerImageName NGINX_IMAGE = DockerImageName.parse("nginx:1.9.4");
private static final DockerImageName NGINX_IMAGE = DockerImageName.parse("nginx:1.27.0-alpine3.19-slim");

private static String tmpDirectory = System.getProperty("user.home") + "/.tmp-test-container";

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class SeleniumStartTest {

@Parameterized.Parameters(name = "tag: {0}")
public static String[] data() {
return new String[] { "4.0.0", "3.4.0", "2.53.0", "2.45.0" };
return new String[] { "4.0.0", "3.4.0", "2.53.0" };
}

@Parameterized.Parameter
Expand Down