Skip to content

Commit

Permalink
Merge pull request #1319 from apichick/autopilot-fix
Browse files Browse the repository at this point in the history
Fixed wait_time in locust script
  • Loading branch information
apichick authored Apr 12, 2023
2 parents 5626110 + 192ebff commit a599071
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 a599071

Please sign in to comment.