Fix duplicate run at 1 vm in iteration when multiple is set to 1
Change-Id: I9d5338a89307a05556ba43b25a734ae876d6ffe8
This commit is contained in:
parent
a421483613
commit
3e0531a436
|
@ -176,7 +176,7 @@ class KBRunner_Storage(KBRunner):
|
||||||
|
|
||||||
while tc_flag:
|
while tc_flag:
|
||||||
cur_vm_count = len(self.client_dict)
|
cur_vm_count = len(self.client_dict)
|
||||||
if start == 1:
|
if start == 1 and multiple != 1:
|
||||||
target_vm_count = 1 if cur_stage == 1 else (cur_stage - 1) * multiple
|
target_vm_count = 1 if cur_stage == 1 else (cur_stage - 1) * multiple
|
||||||
else:
|
else:
|
||||||
target_vm_count = cur_stage * multiple
|
target_vm_count = cur_stage * multiple
|
||||||
|
|
Loading…
Reference in New Issue