fix lwt tests

This commit is contained in:
Simon Cruanes 2025-07-10 08:49:30 -04:00
parent 6ae82f130a
commit da551edbd3
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 6 additions and 6 deletions

View file

@ -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)

View file

@ -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

View file

@ -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