Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/appsec/integrations/django_tests/django_app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@

def shutdown(request):
# Endpoint used to flush traces to the agent when doing snapshots.
tracer.shutdown()
# Bounded because the default never gives up, and gevent can park an untimed wait forever.
# Stays under the caller's 10s read timeout in appsec_utils.
tracer.shutdown(timeout=5)
return HttpResponse(status=200)


Expand Down
4 changes: 4 additions & 0 deletions tests/appsec/suitespec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ suites:
paths:
- '@appsec_iast'
- tests/appsec/iast_packages/*
- tests/appsec/app.py
- tests/appsec/appsec_utils.py
timeout: 50m
iast_tdd_propagation:
Expand All @@ -85,6 +86,7 @@ suites:
- '@appsec_iast'
- '@remoteconfig'
- tests/appsec/iast_tdd_propagation/*
- tests/appsec/app.py
- tests/appsec/appsec_utils.py
retry: 2
snapshot: true
Expand Down Expand Up @@ -150,6 +152,7 @@ suites:
- '@appsec_iast'
- tests/appsec/integrations/flask_tests/test_iast_flask.py
- tests/appsec/integrations/flask_tests/test_appsec_flask_telemetry.py
- tests/appsec/app.py
- tests/appsec/appsec_utils.py
retry: 2
# test_appsec_flask_telemetry.py asserts on payloads received by the test agent.
Expand All @@ -165,6 +168,7 @@ suites:
- '@appsec_iast'
- '@remoteconfig'
- tests/appsec/integrations/flask_tests/*
- tests/appsec/app.py
- tests/appsec/appsec_utils.py
retry: 2
services:
Expand Down
Loading