Skip to content

Commit

Permalink
Added load tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogsilva committed Aug 28, 2024
1 parent 2e1efae commit c01d5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/loadtests/locustfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _(environment, **kwargs):
logging.error("Test failed due to failure ratio > 1%")
environment.process_exit_code = 1
elif environment.stats.total.avg_response_time > 200:
logging.error("Test failed due to average response time ratio > 200 ms")
logging.error("Test failed due to average response time ratio > 300 ms")
environment.process_exit_code = 1
elif environment.stats.total.get_response_time_percentile(0.95) > 1500:
logging.error("Test failed due to 95th percentile response time > 1500 ms")
Expand Down

0 comments on commit c01d5ba

Please sign in to comment.