update python client.
Updated client to work with locust 1.2
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM docker.apple.com/piedss/locust:1.1.31
|
FROM docker.apple.com/piedss/locust:1.1.50
|
||||||
|
|
||||||
RUN mkdir -p /home/locust/tests/
|
RUN mkdir -p /home/locust/tests/
|
||||||
ADD .dist/usr/local/load_tests/locust-example /home/locust/tests/
|
ADD .dist/usr/local/load_tests/locust-example /home/locust/tests/
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from locust import events
|
|||||||
|
|
||||||
|
|
||||||
class MyTaskSet(TaskSet):
|
class MyTaskSet(TaskSet):
|
||||||
@task(2)
|
@task(1)
|
||||||
def foo(self):
|
def foo(self):
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user