Fix duplicate run at 1 vm in iteration when multiple is set to 1

Change-Id: I9d5338a89307a05556ba43b25a734ae876d6ffe8
This commit is contained in:
ahothan 2017-05-25 07:41:25 -07:00
parent a421483613
commit 3e0531a436
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class KBRunner_Storage(KBRunner):
while tc_flag:
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
else:
target_vm_count = cur_stage * multiple