From da551edbd362499c970fad7b5501a8bedd295e5c Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Thu, 10 Jul 2025 08:49:30 -0400 Subject: [PATCH] fix lwt tests --- test/lwt/dune | 4 ++-- test/lwt/output_echo.expected | 5 +++-- test/lwt/output_hash.expected | 3 +-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/lwt/dune b/test/lwt/dune index 8bdee879..78b19a6a 100644 --- a/test/lwt/dune +++ b/test/lwt/dune @@ -16,7 +16,7 @@ (action (with-stdout-to %{targets} - (run ./run_hash.sh -d ../data/ --n-conn=2 -j=4)))) + (run ./run_hash.sh -d ../data/ --n-conn=2)))) (rule (alias runtest) @@ -38,7 +38,7 @@ (action (with-stdout-to %{targets} - (run ./run_echo.sh -n 10 --n-conn=2 -j=4)))) + (run ./run_echo.sh -n 10 --n-conn=2 -v)))) (rule (alias runtest) diff --git a/test/lwt/output_echo.expected b/test/lwt/output_echo.expected index 4311fe1a..7c6c88e3 100644 --- a/test/lwt/output_echo.expected +++ b/test/lwt/output_echo.expected @@ -1,8 +1,9 @@ run echo server on port=12346 listening on port 12346 -run echo client -p 12346 -n 10 --n-conn=2 -j=4 +run echo client -p 12346 -n 10 --n-conn=2 -v + sent 100 messages in 0.0175s (5720.16 msg/s) all done -connecting to port 12346 +connecting to port 12346 (10 msg per conn, 10 conns total, 2 max at a time) read: hello 1 read: hello 1 read: hello 1 diff --git a/test/lwt/output_hash.expected b/test/lwt/output_hash.expected index 300672df..726e59e3 100644 --- a/test/lwt/output_hash.expected +++ b/test/lwt/output_hash.expected @@ -1,7 +1,6 @@ running hash server on port=12345 listening on port 12345 -listening on port=12345 -run hash client -p 12345 -d ../data/ --n-conn=2 -j=4 +run hash client -p 12345 -d ../data/ --n-conn=2 ../data/d1/large: fdb479c5661572f9606266eeb280b4db5c26cc38 ../data/d1/large: fdb479c5661572f9606266eeb280b4db5c26cc38 ../data/d1/large_10: c31560efa1a5ad6dbf89990d51878f3bd64b13ce