[skip ci] Update codes of StepLoadShape function (#11543)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
wt 2021-11-10 19:35:50 +08:00 committed by GitHub
parent e2894cf34d
commit 9a5436dca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ class StepLoadShape(LoadTestShape):
return None
current_step = math.floor(run_time / self.step_time) + 1
return (current_step * self.step_load, self.spawn_rate)
return current_step * self.step_load, self.spawn_rate
class MyUser(User):