diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-18 21:49:18 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-18 21:49:18 +0000 |
commit | 652328e57c54cc5597e2502eca685020e4f94ab7 (patch) | |
tree | 2b20891358a002166ca1f24990138861cff9a4fe /regress | |
parent | 51eb1f8f22909954255850883abfdac10dcc9775 (diff) |
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.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sys/kern/sosplice/udp/args-multi.pl | 8 |
1 files 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", |