File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/hazelcast/src/test/java/org/testcontainers/examples Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121class HazelcastTest {
2222
2323 // Hazelcast values
24- private static final String HZ_IMAGE_NAME = "hazelcast/hazelcast:5.2.0" ;
24+ private static final String HZ_IMAGE_NAME = "hazelcast/hazelcast:5.2.0-slim " ;
2525
2626 private static final String HZ_CLUSTERNAME_ENV_NAME = "HZ_CLUSTERNAME" ;
2727
@@ -77,8 +77,8 @@ void singleHazelcastContainer() {
7777
7878 @ Test
7979 void hazelcastCluster () {
80- Network network = Network .newNetwork ();
8180 try (
81+ Network network = Network .newNetwork ();
8282 GenericContainer <?> container1 = new GenericContainer <>(DockerImageName .parse (HZ_IMAGE_NAME ))
8383 .withExposedPorts (DEFAULT_EXPOSED_PORT )
8484 .withEnv (HZ_CLUSTERNAME_ENV_NAME , TEST_CLUSTER_NAME )
You can’t perform that action at this time.
0 commit comments