Repository navigation
Commit ddb10c1
test(dryrun): give the SERVFAIL preflight case room for resolver retries (#235)
TestDryRunPreflight/servfail ran with -timeout 200. Go's stub resolver
retries a SERVFAIL itself, and on a loaded machine that retry could
outlast 200 ms, so the preflight read as a timeout instead of an error.
The test server answers at once, so a 2 s timeout costs nothing and
keeps the assertion on "error".
Verified: go test -count=30 -run TestDryRunPreflight . passes while the
scan and dns test packages run alongside.
Fixes #235
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 33ca905 commit ddb10c1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
0 commit comments