projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: Simplified the configuration for the kafka-services
[demos/kafka/chat]
/
src
/
test
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
InMemoryWithMongoDbConfigurationIT.java
diff --git
a/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithMongoDbConfigurationIT.java
b/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithMongoDbConfigurationIT.java
index
6937736
..
c7ede36
100644
(file)
--- a/
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithMongoDbConfigurationIT.java
+++ b/
src/test/java/de/juplo/kafka/chat/backend/InMemoryWithMongoDbConfigurationIT.java
@@
-37,7
+37,7
@@
class InMemoryWithMongoDbConfigurationIT extends AbstractConfigurationIT
@DynamicPropertySource
static void addMongoPortProperty(DynamicPropertyRegistry registry)
{
@DynamicPropertySource
static void addMongoPortProperty(DynamicPropertyRegistry registry)
{
- registry.add("spring.data.mongodb.port", () -> CONTAINER.getMappedPort(
27017
));
+ registry.add("spring.data.mongodb.port", () -> CONTAINER.getMappedPort(
MONGODB_PORT
));
}
@BeforeEach
}
@BeforeEach