]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix unit test to properly test the reuse_write_wait_pop function. release-1.17.0rc1
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Fri, 7 Oct 2022 09:29:46 +0000 (11:29 +0200)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Fri, 7 Oct 2022 09:29:46 +0000 (11:29 +0200)
doc/Changelog
testcode/unittcpreuse.c

index c956c58bc134f40b591be5fcf044b6f440b79dc0..790d7793f05237d97fbd52ee52191972859ac7f7 100644 (file)
@@ -2,6 +2,7 @@
        - Fix to stop possible loops in the tcp reuse code (write_wait list
          and tcp_wait list). Based on analysis and patch from Prad Seniappan
          and Karthik Umashankar.
+       - Fix unit test to properly test the reuse_write_wait_pop function.
 
 6 October 2022: Wouter
        - Fix to stop responses with TC flag from resulting in partial
index b32262dac1e9795c4497bdd7ddad34d2f5591b22..5f45a4b456f1ec623174550f0a0aa0ed169140bb 100644 (file)
@@ -474,9 +474,9 @@ static void reuse_write_wait_test(void)
 
        /* Check pop */
        unit_show_func("services/outside_network.c", "reuse_write_wait_pop");
-       check_reuse_write_wait_removal(0, &reuse, store, 0, 3);
-       check_reuse_write_wait_removal(0, &reuse, store, 0, 2);
-       check_reuse_write_wait_removal(0, &reuse, store, 0, 1);
+       check_reuse_write_wait_removal(1, &reuse, store, 0, 3);
+       check_reuse_write_wait_removal(1, &reuse, store, 0, 2);
+       check_reuse_write_wait_removal(1, &reuse, store, 0, 1);
 }
 
 void tcpreuse_test(void)