Simon Cruanes
c878b1a198
test for Moonpool_fib.main
2024-03-04 20:49:34 -05:00
Simon Cruanes
5817a8aee7
revert nurseries
2024-03-04 20:49:34 -05:00
Simon Cruanes
4325fda345
update tests
2024-03-04 20:49:34 -05:00
Simon Cruanes
62770a87b5
try to make test more deterministic
2024-02-28 00:18:27 -05:00
Simon Cruanes
22f43670a7
update tests
2024-02-27 22:32:14 -05:00
Simon Cruanes
c975634837
test: update fiber tests
2024-02-27 22:13:52 -05:00
Simon Cruanes
bd7a48a4b4
make test slightly less heavy
2024-02-27 21:30:37 -05:00
Simon Cruanes
dac1450d54
update tests
2024-02-27 21:25:07 -05:00
Simon Cruanes
55b975017f
hash server test: use artificial, pre-generated data
...
this way the test won't be broken every time we change the source
code(!)
2024-02-27 21:20:19 -05:00
Simon Cruanes
4cdec87aea
add some tests for fiber
2024-02-21 00:53:24 -05:00
Simon Cruanes
cb8668f3dc
simplify test
2024-02-20 22:21:11 -05:00
Simon Cruanes
a6d6eec6c7
CI: make test mroe deterministic, run tests with all depopts
2024-02-20 20:35:54 -05:00
Simon Cruanes
a8f874e4ab
test
2024-02-20 20:26:37 -05:00
Simon Cruanes
101d15f874
fix race conditions in tests
2024-02-20 19:57:58 -05:00
Simon Cruanes
d94a197381
try to fix tests
2024-02-20 18:48:10 -05:00
Simon Cruanes
b58a55536c
do not require libev
2024-02-20 18:43:53 -05:00
Simon Cruanes
fa5ae97b6d
restrict moonpool-lwt tests to 5.0
2024-02-20 18:39:27 -05:00
Simon Cruanes
f68f27a4a4
echo server tests for moonpool-lwt
2024-02-20 18:34:35 -05:00
Simon Cruanes
004f5fc82b
test: add a test for the hash server+client
2024-02-20 18:25:18 -05:00
Simon Cruanes
ed6db54b1a
update tests
2024-02-17 12:40:37 -05:00
Simon Cruanes
283a1cb118
test: add hash server/client
...
the protocol: send a filename per line over TCP, and the server
replies with the filename and its content's hash
2024-02-17 12:40:36 -05:00
Simon Cruanes
e789cbe4f7
fix echo_client to actually do its work
2024-02-17 12:40:36 -05:00
Simon Cruanes
bd00e0838a
test: use async spans for lwt echo server
2024-02-17 12:40:36 -05:00
Simon Cruanes
4ff45df7e7
basic echo client for moonpool-lwt
2024-02-17 12:40:35 -05:00
Simon Cruanes
38b84e0c03
test: unix libev to make sure we handle more than 1024 simultaneous
...
connections in echo server
2024-02-17 12:40:35 -05:00
Simon Cruanes
0e9d358cb5
basic echo server for moonpool-lwt
2024-02-17 12:40:35 -05:00
Simon Cruanes
cf8555bcec
revert: remove name on futures and tasks
...
async tracing will be more robust, and is enabled by
task local storage
2024-02-17 12:40:02 -05:00
Simon Cruanes
e1219ade54
details in test
2024-02-11 16:40:14 -05:00
Simon Cruanes
223f22a0d9
breaking: move fork-join into sub-library moonpool.forkjoin
2024-02-11 16:39:44 -05:00
Simon Cruanes
cc8860c6e3
split into moonpool.private and moonpool; format; remove DLA
2024-02-11 16:39:43 -05:00
Simon Cruanes
dd9206b5b8
use new tracing support in tests and benchs
2024-01-30 16:12:03 -05:00
Simon Cruanes
16663651d6
update test
2023-11-24 23:12:20 -05:00
Simon Cruanes
b58041153a
add another test
2023-11-24 22:56:33 -05:00
Simon Cruanes
989c012f77
fix warnings
2023-11-08 12:02:13 -05:00
Simon Cruanes
62e8336d84
update tests and benchs for new Fut API
2023-11-08 12:02:13 -05:00
Simon Cruanes
245bfd9b7b
test: regression test for bug
2023-11-08 12:02:13 -05:00
Simon Cruanes
72f289af84
refactor: use a fixed size work-stealing deque
...
if it's full, tasks overflow into the main queue.
2023-11-08 11:36:10 -05:00
Simon Cruanes
928345437a
fix tests to use new API
2023-11-08 09:41:57 -05:00
Simon Cruanes
359ec0352b
small change to test
2023-10-27 14:47:59 -04:00
Simon Cruanes
3e614ec992
rename Pool to Ws_pool; deprecated Moonpool.Pool
2023-10-25 23:43:18 -04:00
Simon Cruanes
30035fa67d
fix pool: suspension handler might run from a different thread!
...
this means we can't reuse the same worker state, it's neither thread
safe nor deadlock-safe (the worker whose state it is might be waiting on
the main queue)
2023-10-25 23:30:04 -04:00
Simon Cruanes
1ed25e5aca
test: make t_ws_deque consume less ram
2023-10-25 22:41:26 -04:00
Simon Cruanes
d9da7844e2
test: run more diverse pools in t_fib_rec
2023-10-25 22:32:57 -04:00
Simon Cruanes
6452ca89d1
rename Simple_pool into Fifo_pool, update doc
2023-10-25 21:55:29 -04:00
Simon Cruanes
e0d3a18562
improve test a bit
2023-10-25 09:57:25 -04:00
Simon Cruanes
78407c495d
more tests for WS_deque
2023-10-25 09:56:56 -04:00
Simon Cruanes
91c0c3f6c1
fix props
2023-10-25 01:01:51 -04:00
Simon Cruanes
3bfc4cdcc7
more test
2023-10-25 00:28:16 -04:00
Simon Cruanes
c03e342178
tests: run some tests on both Pool and Simple_pool
2023-10-25 00:21:07 -04:00
Simon Cruanes
ae5f3a7e97
tests for ws_deque
2023-10-25 00:09:38 -04:00