We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 024df91 commit 84d7d3cCopy full SHA for 84d7d3c
1 file changed
core-api/src/envconfig.rs
@@ -1617,6 +1617,11 @@ address = "some-address"
1617
#[test]
1618
#[ignore] // Only run when explicitly called
1619
fn test_load_client_config_profile_from_system_env_impl() {
1620
+ // Check if we're in the right context
1621
+ if std::env::var("TEMPORAL_ADDRESS").is_err() || std::env::var("TEMPORAL_NAMESPACE").is_err() {
1622
+ eprintln!("Skipping test - required env vars not set");
1623
+ return; // Early return instead of panic
1624
+ }
1625
let options = LoadClientConfigProfileOptions {
1626
disable_file: true, // Don't load from any files
1627
..Default::default()
0 commit comments