Skip to content

Commit cd189f4

Browse files
committed
test: Skip tests that run mise in VM
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 03c5039 commit cd189f4

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎e2e/run.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ PY
739739
export OPENSHELL_GATEWAY_ENDPOINT=http://127.0.0.1:${guest_port}
740740
export OPENSHELL_GATEWAY=openshell-e2e-vm-${guest_port}
741741
export OPENSHELL_PROVISION_TIMEOUT=\${OPENSHELL_PROVISION_TIMEOUT:-300}
742+
export OPENSHELL_E2E_TESTS_IN_VM=1
742743
if [ '${gateway_driver}' = podman ]; then
743744
export CONTAINER_ENGINE=podman
744745
export OPENSHELL_E2E_DRIVER=podman

‎e2e/rust/tests/transparent_tcp.rs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ async fn rootless_podman_musl_getaddrinfo_uses_udp_policy_dns() {
141141
if !is_e2e_driver("podman") {
142142
return;
143143
}
144+
if std::env::var_os("OPENSHELL_E2E_TESTS_IN_VM").is_some() {
145+
eprintln!(
146+
"skipping musl DNS probe test in guest prebuilt-artifact mode; \
147+
restore with a prebuilt probe artifact tracked in #3009"
148+
);
149+
return;
150+
}
144151

145152
let probe = MuslDnsProbe::build().expect("build static musl DNS probe");
146153
let fixture = SupportContainer::start_python(

0 commit comments

Comments
 (0)