mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-02 19:59:28 -05:00
- Fix cookie_file test sporadic fails for time change during
the test.
This commit is contained in:
parent
66fb3ff670
commit
e0201435a4
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
10 October 2024: Wouter
|
||||
- Fix cookie_file test sporadic fails for time change during
|
||||
the test.
|
||||
|
||||
9 October 2024: Wouter
|
||||
- Merge #871: DNS over QUIC. This adds `quic-port: 853` and
|
||||
`quic-size: 8m` that enable dnsoverquic, and the counters
|
||||
|
|
|
|||
6
testdata/cookie_file.tdir/cookie_file.test
vendored
6
testdata/cookie_file.tdir/cookie_file.test
vendored
|
|
@ -238,10 +238,12 @@ then
|
|||
echo "Got the same first cookie in the response while the second secret is active"
|
||||
exit 1
|
||||
fi
|
||||
if ! grep -q "COOKIE: $second_cookie" $outfile
|
||||
if ! grep -q "COOKIE: .* (good)$" $outfile
|
||||
then
|
||||
# dig can generate a different cookie value here than previous cookies.
|
||||
# but make sure the output contains a valid cookie
|
||||
cat $outfile
|
||||
echo "Did not get the same second cookie in the response"
|
||||
echo "Did not get a valid cookie in the response"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue