Skip to content

Commit

Permalink
fix(RHIDP-3671): fix test user names introduced in redhat-performance#91
Browse files Browse the repository at this point in the history


Signed-off-by: Pavel Macík <[email protected]>
  • Loading branch information
pmacik committed Oct 3, 2024
1 parent 1f0a4ea commit b143d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scenarios/mvp-1dot1.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def on_test_start(environment, **_kwargs):
if not isinstance(environment.runner, WorkerRunner):
users = []
for i in range(1, int(environment.runner.target_user_count)+1):
users.append(f"test{i}")
users.append(f"t{i}")

worker_count = environment.runner.worker_count
chunk_size = int(len(users) / worker_count)
Expand Down
2 changes: 1 addition & 1 deletion scenarios/mvp.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def on_test_start(environment, **_kwargs):
if not isinstance(environment.runner, WorkerRunner):
users = []
for i in range(1, int(environment.runner.target_user_count)+1):
users.append(f"test{i}")
users.append(f"t{i}")

worker_count = environment.runner.worker_count
chunk_size = int(len(users) / worker_count)
Expand Down

0 comments on commit b143d04

Please sign in to comment.