mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-20 11:35:21 +00:00
tests: Remove entropy check from vhost-user-block test
When booting from vhost-user-block the entropy is sometimes lower triggering a flaky test. We have already use other, more reliable methods for checking that the VM has booted. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
a4cca5f60a
commit
7b1d5c1ad9
@ -1596,7 +1596,6 @@ mod tests {
|
|||||||
// Just check the VM booted correctly.
|
// Just check the VM booted correctly.
|
||||||
aver_eq!(tb, guest.get_cpu_count().unwrap_or_default(), 1);
|
aver_eq!(tb, guest.get_cpu_count().unwrap_or_default(), 1);
|
||||||
aver!(tb, guest.get_total_memory().unwrap_or_default() > 491_000);
|
aver!(tb, guest.get_total_memory().unwrap_or_default() > 491_000);
|
||||||
aver!(tb, guest.get_entropy().unwrap_or_default() >= 900);
|
|
||||||
|
|
||||||
let _ = cloud_child.kill();
|
let _ = cloud_child.kill();
|
||||||
let _ = cloud_child.wait();
|
let _ = cloud_child.wait();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user