提交 045f3671 编写于 作者: P Peixiu Hou

block_hotplug: Modify the repeat time and add limited condition for with_shutdown

1. Modify the repeat time from 300 to 100 about with_repetition test.
   Repeat 300 times takes too long time.
2. Modify the repeat time from 3 to 1 about not repetition test.
   Repeat hotplug and unplug can be covered by with_repetition test.
3. Limited the with_shutdown.after_plug only with_plug,
   When test without_plug, this case is no needed.
Signed-off-by: NPeixiu Hou <phou@redhat.com>
上级 5a326011
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
variants: variants:
- one_pci: - one_pci:
blk_num = 1 blk_num = 1
repeat_times = 3 repeat_times = 1
- multi_pci: - multi_pci:
blk_num = 2 blk_num = 2
repeat_times = 3 repeat_times = 1
images += " stg1" images += " stg1"
boot_drive_stg1 = no boot_drive_stg1 = no
image_name_stg1 = images/storage1 image_name_stg1 = images/storage1
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
variants: variants:
- @default: - @default:
- with_repetition: - with_repetition:
repeat_times = 300 repeat_times = 100
- with_reboot: - with_reboot:
sub_type_after_plug = boot sub_type_after_plug = boot
sub_type_after_unplug = boot sub_type_after_unplug = boot
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
- with_shutdown: - with_shutdown:
variants: variants:
- after_plug: - after_plug:
only with_plug
sub_type_after_plug = shutdown sub_type_after_plug = shutdown
- after_unplug: - after_unplug:
sub_type_after_unplug = shutdown sub_type_after_unplug = shutdown
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册