diff --git a/docker-compose.yaml b/docker-compose.yaml index bab776a..d386d5e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -134,7 +134,14 @@ services: - name: local-sync-service type: LOGICAL_DNS dns_lookup_family: V4_ONLY + connect_timeout: 0.25s http2_protocol_options: {} + health_checks: + - timeout: 1s + interval: 1s + unhealthy_threshold: 1 + healthy_threshold: 1 + tcp_health_check: {} load_assignment: cluster_name: local-sync-service endpoints: @@ -148,7 +155,14 @@ services: - name: local-rpc-service type: LOGICAL_DNS dns_lookup_family: V4_ONLY + connect_timeout: 0.25s http2_protocol_options: {} + health_checks: + - timeout: 1s + interval: 1s + unhealthy_threshold: 1 + healthy_threshold: 1 + tcp_health_check: {} load_assignment: cluster_name: local-rpc-service endpoints: diff --git a/gherkin/config.feature b/gherkin/config.feature index a33396a..2245ea2 100644 --- a/gherkin/config.feature +++ b/gherkin/config.feature @@ -198,6 +198,7 @@ Feature: Configuration Test | option | type | value | | providerId | String | providerId | + @env-var Scenario Outline: Dedicated Config via Env_var Given an environment variable "" with value "" When a config was initialized @@ -274,7 +275,7 @@ Feature: Configuration Test | option | env | type | value | | providerId | FLAGD_PROVIDER_ID | String | env-providerId | - @in-process @sync-port + @in-process @sync-port @env-var Scenario Outline: Dedicated Config via Env_var special In-process case Given an environment variable "" with value "" And an option "resolver" of type "ResolverType" with value "in-process" @@ -284,7 +285,7 @@ Feature: Configuration Test | option | env | type | value | | port | FLAGD_SYNC_PORT | Integer | 1234 | - @file + @file @env-var Scenario Outline: Dedicated Config via Env_var special file case Given an environment variable "" with value "" And an option "offlineFlagSourcePath" of type "String" with value "some-path" @@ -296,6 +297,7 @@ Feature: Configuration Test | resolver | FLAGD_RESOLVER | ResolverType | file | | resolver | FLAGD_RESOLVER | ResolverType | FILE | + @env-var Scenario Outline: Dedicated Config via Env_var and set Given an environment variable "" with value "" And an option "