git: a660948b7b2d - main - tests/libalias: Reduce stress

Lutz Donnerhacke donner at FreeBSD.org
Sun May 23 20:49:20 UTC 2021


The branch main has been updated by donner:

URL: https://cgit.FreeBSD.org/src/commit/?id=a660948b7b2d875591aba3713620424c51330038

commit a660948b7b2d875591aba3713620424c51330038
Author:     Lutz Donnerhacke <donner at FreeBSD.org>
AuthorDate: 2021-05-23 20:41:26 +0000
Commit:     Lutz Donnerhacke <donner at FreeBSD.org>
CommitDate: 2021-05-23 20:48:28 +0000

    tests/libalias: Reduce stress
    
    Due to the new, external performance test utility, the regular test
    suite can reduce the stress test to a fair amount of activity.
    
    MFC after:      1 week
---
 tests/sys/netinet/libalias/2_natout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/netinet/libalias/2_natout.c b/tests/sys/netinet/libalias/2_natout.c
index 9eb9148f8377..513ff359b1d9 100644
--- a/tests/sys/netinet/libalias/2_natout.c
+++ b/tests/sys/netinet/libalias/2_natout.c
@@ -311,7 +311,7 @@ ATF_TC_BODY(7_stress, dummy)
 		struct in_addr src, dst;
 		uint16_t sport, dport, aport;
 	} *batch;
-	size_t const batch_size = 12000;
+	size_t const batch_size = 1200;
 	size_t const rounds = 25;
 	size_t i, j;
 


More information about the dev-commits-src-main mailing list