Commit dd4d94c
authored
test(profiling): unflake
## Description
This PR is an attempt to unflake `test_gunicorn`.
`test_gunicorn` previously asserted a 5s `urlopen` timeout against a request that computes a recursive `fib(35)` inline in the handler. That work takes about 3s on 3.10 (which is the one that keeps flaking) and it seems like in practice we can accidentally timeout due to this.
In the last failure on `main` ([job 1949343458](https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-py/-/jobs/1949343458)) the worker was healthy and did serve the request -- it logged `"GET / HTTP/1.1" 200` 5.08s after the client sent it, but after `urllib` gave up. The auto-retry in the same job passed with the identical request taking 4.37s, so pass/fail hinged on ~600ms of runner jitter.
Co-authored-by: thomas.kowalski <thomas.kowalski@datadoghq.com>test_gunicorn (#19694)1 parent 99fd46a commit dd4d94c
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
0 commit comments