Skip to content

Commit 4a2a04e

Browse files
committed
vmm_tests: Tweak memstat test to see if arm failures disappear
1 parent e19a471 commit 4a2a04e

File tree

1 file changed

+2
-9
lines changed
  • vmm_tests/vmm_tests/tests/tests/multiarch

1 file changed

+2
-9
lines changed

vmm_tests/vmm_tests/tests/tests/multiarch/memstat.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -383,13 +383,7 @@ async fn idle_test<T: PetriVmmBackend>(
383383
let arch_str = get_arch_str(isolation_type, machine_arch);
384384
let vp_count = match vps {
385385
TestVPCount::SmallVPCount => 2,
386-
TestVPCount::LargeVPCount => {
387-
if arch_str.contains("x64") {
388-
32
389-
} else {
390-
64
391-
}
392-
}
386+
TestVPCount::LargeVPCount => 32,
393387
};
394388
let vm_boot_result = config
395389
.with_processor_topology({
@@ -423,8 +417,6 @@ async fn idle_test<T: PetriVmmBackend>(
423417

424418
let (mut vm, agent) = vm_boot_result?;
425419

426-
let vtl2_agent = vm.wait_for_vtl2_agent().await?;
427-
428420
// Wait for the guest to be booted
429421
agent.ping().await?;
430422

@@ -433,6 +425,7 @@ async fn idle_test<T: PetriVmmBackend>(
433425
.sleep(Duration::from_secs(wait_time_sec as u64))
434426
.await;
435427

428+
let vtl2_agent = vm.wait_for_vtl2_agent().await?;
436429
let memstat = MemStat::new(&vtl2_agent).await;
437430
tracing::info!("MEMSTAT_START:{}:MEMSTAT_END", to_string(&memstat).unwrap());
438431
agent.power_off().await?;

0 commit comments

Comments
 (0)