Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ public static GenericContainer sync() {
/**
*
* @param unstable if an unstable version of the container, which terminates the connection regularly should be used.
* @param addNetwork if set to true a custom network is attached for cross container access e.g. envoy --> sync:9090
* @return a {@link org.testcontainers.containers.GenericContainer} instance of a sync flagd server with the port 9090 exposed
* @param addNetwork if set to true a custom network is attached for cross container access e.g. envoy --> sync:8015
* @return a {@link org.testcontainers.containers.GenericContainer} instance of a sync flagd server with the port 8015 exposed
*/
public static GenericContainer sync(boolean unstable, boolean addNetwork) {
String container = generateContainerName("sync", unstable);
String container = generateContainerName("flagd", unstable);
GenericContainer genericContainer = new GenericContainer(DockerImageName.parse(container))
.withExposedPorts(9090);
.withExposedPorts(8015);

if (addNetwork) {
genericContainer.withNetwork(network);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ static_resources:
address:
socket_address:
address: sync-service
port_value: 9090
port_value: 8015