Skip to content

Commit 67e804f

Browse files
committed
chore: Update dependencies and fix flaky retry mechanism tests
Signed-off-by: Eren Atas <[email protected]>
1 parent 9b78024 commit 67e804f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/flagd/tests/gherkin_config_test.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
use cucumber::{World, given, then, when};
22
use open_feature_flagd::{CacheSettings, CacheType, FlagdOptions, FlagdProvider, ResolverType};
33
use std::collections::HashMap;
4+
use std::sync::Mutex;
45
use test_log::test;
56

7+
// Global lock to ensure env var tests don't interfere with each other
8+
static ENV_LOCK: Mutex<()> = Mutex::new(());
9+
610
#[derive(Debug, World)]
711
#[world(init = Self::new)]
812
struct ConfigWorld {

0 commit comments

Comments
 (0)