Skip to content

Commit 09c1ce7

Browse files
committed
Fix connection
Signed-off-by: sirivarma <[email protected]>
1 parent b972912 commit 09c1ce7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spring-boot-examples/consumer-app/src/test/java/io/dapr/springboot/examples/consumer/DaprTestContainersConfig.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import org.junit.runner.Description;
2020
import org.junit.runners.model.Statement;
2121
import org.springframework.boot.test.context.TestConfiguration;
22-
import org.springframework.boot.testcontainers.service.connection.ServiceConnection;
2322
import org.springframework.context.annotation.Bean;
2423
import org.springframework.core.env.Environment;
2524
import org.testcontainers.DockerClientFactory;
@@ -81,7 +80,6 @@ public RabbitMQContainer rabbitMQContainer(Network daprNetwork, Environment env)
8180
}
8281

8382
@Bean
84-
@ServiceConnection
8583
public DaprContainer daprContainer(Network daprNetwork, RabbitMQContainer rabbitMQContainer, Environment env) {
8684
boolean reuse = env.getProperty("reuse", Boolean.class, false);
8785
Map<String, String> rabbitMqProperties = new HashMap<>();

0 commit comments

Comments
 (0)