]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix unit test for #987 change in udp1xxx retry packet send.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 5 Jan 2024 13:11:55 +0000 (14:11 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 5 Jan 2024 13:11:55 +0000 (14:11 +0100)
doc/Changelog
testdata/stat_values.tdir/stat_values.test

index ba6904c83a3f68fd68928701508a61019750b91f..fca7fb6b429b549c2b5a71cdb7c3f3edd561e1d9 100644 (file)
@@ -1,6 +1,7 @@
 5 January 2024: Wouter
        - Merge #987: skip edns frag retry if advertised udp payload size is
          not smaller.
+       - Fix unit test for #987 change in udp1xxx retry packet send.
 
 4 January 2024: Wouter
        - Remove unneeded newlines and improve indentation in remote control
index 22d55f1f0d31b13a7c43ddbb44cc2cb831286fdc..814ecd1168d3808b47ec6dfe2d177a655aa9e4a7 100644 (file)
@@ -272,7 +272,7 @@ if grep "192.0.2.1" outfile; then
 else
        end 1
 fi
-sleep 1  # make sure the outgoing UDP (and the edns1xx0 retry) are accounted for.
+sleep 1  # make sure the outgoing UDP (and no edns1xx0 retry because not a smaller buffer size) are accounted for.
 check_stats "\
 total.num.queries=1
 total.num.expired=1
@@ -284,7 +284,7 @@ num.query.flags.AD=1
 num.query.flags.RD=1
 num.query.opcode.QUERY=1
 num.query.type.A=1
-num.query.udpout=2
+num.query.udpout=1
 total.num.cachemiss=1
 msg.cache.count=2
 rrset.cache.count=2