Skip to content

Commit

Permalink
improve flask test
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-papazian committed Sep 27, 2023
1 parent 76fd74b commit f3448aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/contrib/flask/test_flask_appsec.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def new_service(service_name):
assert resp.status_code == 200
assert get_response_body(resp) == "Ok awesome_test"
for _ in range(10):
time.sleep(0.2)
time.sleep(1)
if "awesome_test" in ddtrace.config._get_extra_services():
break
else:
Expand Down

0 comments on commit f3448aa

Please sign in to comment.