Merge pull request #1319 from apichick/autopilot-fix
Fixed wait_time in locust script
This commit is contained in:
commit
a59907155d
|
@ -21,8 +21,8 @@ class TestUser(HttpUser):
|
||||||
|
|
||||||
host = os.getenv("URL", "http://nginx.sample.svc.cluster.local")
|
host = os.getenv("URL", "http://nginx.sample.svc.cluster.local")
|
||||||
|
|
||||||
wait_time = between(int(os.getenv('MIN_WAIT_TIME'), 1),
|
wait_time = between(int(os.getenv('MIN_WAIT_TIME', 1)),
|
||||||
int(os.getenv('MAX_WAIT_TIME'), 2))
|
int(os.getenv('MAX_WAIT_TIME', 2)))
|
||||||
|
|
||||||
@task
|
@task
|
||||||
def home(self):
|
def home(self):
|
||||||
|
|
Loading…
Reference in New Issue