Skip to content

Commit

Permalink
- Fix cookie_file test sporadic fails for time change during
Browse files Browse the repository at this point in the history
  the test.
  • Loading branch information
wcawijngaards committed Oct 10, 2024
1 parent 66fb3ff commit e020143
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions testdata/cookie_file.tdir/cookie_file.test
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e020143

Please sign in to comment.