Skip to content

Commit f0a7f67

Browse files
BunsDevCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 26ea004 commit f0a7f67

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • crates/integration/src/test

crates/integration/src/test/ssh.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,7 @@ macro_rules! generate_long_running_block_ssh_test_for_shell {
264264
// TODO(CORE-2333) PowerShell has no SSH wrapper.
265265
// Requires the GCP IAP SSH integration testing VM. Set
266266
// CAST_CODES_SSH_INTEGRATION_TESTS=1 to opt in.
267-
.set_should_run_test(|| {
268-
if std::env::var("CAST_CODES_SSH_INTEGRATION_TESTS").is_err() {
267+
if std::env::var("CAST_CODES_SSH_INTEGRATION_TESTS").ok().as_deref() != Some("1") {
269268
return false;
270269
}
271270
let (starter, _) = current_shell_starter_and_version();

0 commit comments

Comments
 (0)