We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 024df91 commit 543a067Copy full SHA for 543a067
1 file changed
core-api/src/envconfig.rs
@@ -1617,6 +1617,13 @@ 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()
1622
+ || std::env::var("TEMPORAL_NAMESPACE").is_err()
1623
+ {
1624
+ eprintln!("Skipping test - required env vars not set");
1625
+ return; // Early return instead of panic
1626
+ }
1627
let options = LoadClientConfigProfileOptions {
1628
disable_file: true, // Don't load from any files
1629
..Default::default()
0 commit comments