From a2dc5ebbb45f171e8f4d10031e48a3a7e637a1cf Mon Sep 17 00:00:00 2001 From: Simon Schrottner Date: Mon, 30 Mar 2026 21:30:34 +0200 Subject: [PATCH 1/2] test: add @env-var tag to env-var config scenarios Tag all scenario outlines that mutate System environment variables so the Cucumber exclusive-resources mechanism can serialise them during parallel execution (ENV_VARS resource lock in junit-platform.properties). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Simon Schrottner --- gherkin/config.feature | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 "