Skip to content

Commit

Permalink
fix(RHIDP-4302): fix test user names introduced in #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 ba8bc4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
4 changes: 2 additions & 2 deletions 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 All @@ -143,7 +143,7 @@ def _(parser):
parser.add_argument("--debug", type=bool, default=False)


class MVP1dot2Test(HttpUser):
class MVP1dot3Test(HttpUser):

def on_start(self):
self.client.verify = False
Expand Down

0 comments on commit ba8bc4e

Please sign in to comment.