From 1992f8a49a7d3ec12384dc10a338d2b1a141f8e6 Mon Sep 17 00:00:00 2001 From: shelajev Date: Mon, 10 Jun 2024 10:17:15 +0100 Subject: [PATCH] delete random main class --- .../testcontainers/catalog/ReproduceMe.java | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/test/java/com/testcontainers/catalog/ReproduceMe.java diff --git a/src/test/java/com/testcontainers/catalog/ReproduceMe.java b/src/test/java/com/testcontainers/catalog/ReproduceMe.java deleted file mode 100644 index 6e76f17..0000000 --- a/src/test/java/com/testcontainers/catalog/ReproduceMe.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.testcontainers.catalog; - -import org.testcontainers.containers.GenericContainer; -import org.testcontainers.containers.PostgreSQLContainer; -import org.testcontainers.containers.wait.strategy.Wait; - -public class ReproduceMe { - - public static void main(String[] args) { - - PostgreSQLContainer postgreSQLContainer = new PostgreSQLContainer("postgres:15-alpine"); - - postgreSQLContainer.start(); - postgreSQLContainer.getJdbcUrl(); - - GenericContainer redis = new GenericContainer("redis:6-alpine") - .withExposedPorts(6379); - - redis.start(); - - System.out.println(redis.getHost() + ":" + redis.getMappedPort(6379)); - - redis.stop(); - } -}