Skip to content

Commit 507ed36

Browse files
committed
ci: fix
1 parent 8cfeedc commit 507ed36

File tree

1 file changed

+5
-1
lines changed
  • uefi-test-runner/src/proto/network

1 file changed

+5
-1
lines changed

uefi-test-runner/src/proto/network/snp.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ pub fn test() {
254254
}
255255
}
256256

257-
simple_network.stop().unwrap();
257+
// Workaround for OVMF firmware. `stop()` works in CI on x86_64, but not
258+
// x86 or aarch64.
259+
if simple_network.mode().state == NetworkState::STARTED {
260+
simple_network.stop().unwrap();
261+
}
258262
simple_network.shutdown().unwrap();
259263
}

0 commit comments

Comments
 (0)