Skip to content

Commit 0c67dbc

Browse files
committed
Add some marginal IO to the storvsp test. This pattern found a bug in in-development code, so I believe that this test change is generally useful.
1 parent a65b17d commit 0c67dbc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vmm_tests/vmm_tests/tests/tests/x86_64/openhcl_linux_direct.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,13 @@ async fn storvsp(config: PetriVmBuilder<OpenVmmPetriBackend>) -> Result<(), anyh
406406
// Account for the pipette drive too
407407
assert_eq!(reported_sizes.len(), 3);
408408

409+
let _io_to_sda = cmd!(sh, "sh -c 'dd if=/dev/urandom of=/dev/sda bs=1M count=100'")
410+
.run()
411+
.await?;
412+
let _io_to_sdb = cmd!(sh, "sh -c 'dd if=/dev/urandom of=/dev/sdb bs=1M count=100'")
413+
.run()
414+
.await?;
415+
409416
agent.power_off().await?;
410417
assert_eq!(vm.wait_for_teardown().await?, HaltReason::PowerOff);
411418

0 commit comments

Comments
 (0)