From 922431085a748e5420190782d138df5482095904 Mon Sep 17 00:00:00 2001
From: Zhu huankai <zhuhuankai1@huawei.com>
Date: Wed, 12 May 2021 16:05:20 +0800
Subject: [PATCH] testscases/vmlife: decrease test blk number

stratovirt supports only 4 block devices at present.

Signed-off-by: Zhu huankai <zhuhuankai1@huawei.com>
---
 .../testcases/microvm/functional/test_microvm_vmlife.py         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/hydropper/testcases/microvm/functional/test_microvm_vmlife.py b/tests/hydropper/testcases/microvm/functional/test_microvm_vmlife.py
index 6e015a3..ff9bc00 100644
--- a/tests/hydropper/testcases/microvm/functional/test_microvm_vmlife.py
+++ b/tests/hydropper/testcases/microvm/functional/test_microvm_vmlife.py
@@ -30,7 +30,7 @@ def test_microvm_start(microvm, vcpu_count, memsize, vnetnums):
     logging.debug("current vmhwinfo is %s", vmhwinfo)
     assert vmhwinfo["cpu"]["vcpu_count"] == vcpu_count
     assert vmhwinfo["mem"]["memsize"] > (memsize * 1024 * 90 / 100)
-    assert len(vmhwinfo["virtio"]["virtio_blk"]) == 6
+    assert len(vmhwinfo["virtio"]["virtio_blk"]) == 4
     assert len(vmhwinfo["virtio"]["virtio_net"]) == 2
     assert len(vmhwinfo["virtio"]["virtio_console"]) == 1
     test_vm.shutdown()
-- 
2.25.1

