mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci] Update codes of StepLoadShape function (#11543)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
e2894cf34d
commit
9a5436dca4
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user