From e548187b9b09e45546e5d985a91e1bc3ebc93f01 Mon Sep 17 00:00:00 2001 From: bluhm Date: Mon, 18 Aug 2014 21:49:17 +0000 Subject: [PATCH] Make the multiple UDP packet test more reliable. The receive buffer limit also counts the mbufs in it, so packets could be dropped. Increase both send and receive socket buffer size. --- regress/sys/kern/sosplice/udp/args-multi.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/regress/sys/kern/sosplice/udp/args-multi.pl b/regress/sys/kern/sosplice/udp/args-multi.pl index df86b81396e..779cadb2dd0 100644 --- a/regress/sys/kern/sosplice/udp/args-multi.pl +++ b/regress/sys/kern/sosplice/udp/args-multi.pl @@ -9,14 +9,14 @@ my @lengths = (251, 16384, 0, 1, 2, 3, 4, 5); our %args = ( client => { lengths => \@lengths, - sndbuf => 20000, + sndbuf => 30000, }, relay => { - rcvbuf => 20000, - sndbuf => 20000, + rcvbuf => 30000, + sndbuf => 30000, }, server => { - rcvbuf => 20000, + rcvbuf => 30000, }, len => sum(@lengths), lengths => "@lengths", -- 2.20.1