]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Increase the time granted for the "timeout then restart" test 15939/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Jul 2025 09:42:24 +0000 (11:42 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Jul 2025 09:44:18 +0000 (11:44 +0200)
commitc4fa54896092aba67a5d078b4094c2f051fdf572
treed63dd0f3e5b974b74b8e30507fef957f6a4c20ac
parent4ce4fe86e341bae6304b472be42acb9c9f84f0c5
dnsdist: Increase the time granted for the "timeout then restart" test

This test fails from time to time in our CI. After investigation, it
turns out that sometimes the response comes just a few milliseconds
after the 3 seconds timeout has expired:

```
Got answer from 127.0.0.1:14191, relayed to 127.0.0.1:36139 (UDP), took 3.00105e+06 us
```

So let's use a slightly larger timeout of 4 seconds. It will not add
any delay if the response is received faster than that and will hopefully
reduce the number of spurious failures.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
regression-tests.dnsdist/test_TimeoutResponse.py