Skip to content

Commit 475835c

Browse files
committed
fix(springboot openfeign): change IT ports to make DaprSpringMassagingIT works
Signed-off-by: lony2003 <[email protected]>
1 parent bb9e2fe commit 475835c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sdk-tests/src/test/java/io/dapr/it/spring/feign/DaprFeignIT.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
},
4343
properties = {
4444
"dapr.feign.enabled=true",
45-
"dapr.feign.retries=1"
45+
"dapr.feign.retries=1",
46+
"server.port=" + DaprFeignIT.APP_PORT
4647
}
4748
)
4849
@Testcontainers
@@ -53,7 +54,7 @@ public class DaprFeignIT {
5354
"host=postgres-repository user=postgres password=password port=5432 connect_timeout=10 database=dapr_db_repository";
5455
private static final Map<String, String> BINDING_PROPERTIES = Map.of("connectionString", CONNECTION_STRING);
5556
private static final Network DAPR_NETWORK = Network.newNetwork();
56-
private static final int APP_PORT = 8080;
57+
protected static final int APP_PORT = 8081;
5758
private static final String SUBSCRIPTION_MESSAGE_PATTERN = ".*App entered healthy status.*";
5859

5960
@Container

0 commit comments

Comments
 (0)