Skip to content

Commit

Permalink
[e2e] Update docker compose to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tsreaper committed Aug 5, 2024
1 parent 2d94053 commit 4ab229a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
import org.junit.jupiter.api.BeforeEach;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testcontainers.containers.ComposeContainer;
import org.testcontainers.containers.Container;
import org.testcontainers.containers.ContainerState;
import org.testcontainers.containers.DockerComposeContainer;
import org.testcontainers.containers.Network;
import org.testcontainers.containers.output.OutputFrame;
import org.testcontainers.containers.output.Slf4jLogConsumer;
Expand Down Expand Up @@ -82,7 +82,7 @@ protected E2eTestBase(boolean withKafka, boolean withHive, boolean withSpark) {
private final List<String> currentResults = new ArrayList<>();

protected Network network;
protected DockerComposeContainer<?> environment;
protected ComposeContainer environment;
protected ContainerState jobManager;

@BeforeEach
Expand All @@ -94,7 +94,7 @@ public void before() throws Exception {
network = Network.newNetwork();
LOG.info("Network {} created", network.getId());
environment =
new DockerComposeContainer<>(
new ComposeContainer(
new File(
E2eTestBase.class
.getClassLoader()
Expand Down

0 comments on commit 4ab229a

Please sign in to comment.