Skip to content

Commit

Permalink
Fixed wait_time in locust script
Browse files Browse the repository at this point in the history
  • Loading branch information
apichick committed Apr 11, 2023
1 parent f41362e commit 8b4f29a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class TestUser(HttpUser):

host = os.getenv("URL", "http://nginx.sample.svc.cluster.local")

wait_time = between(int(os.getenv('MIN_WAIT_TIME'), 1),
int(os.getenv('MAX_WAIT_TIME'), 2))
wait_time = between(int(os.getenv('MIN_WAIT_TIME', 1)),
int(os.getenv('MAX_WAIT_TIME', 2)))

@task
def home(self):
Expand Down

0 comments on commit 8b4f29a

Please sign in to comment.