Commit Graph

16 Commits

Author SHA1 Message Date
ba8bd15cf7 work in progress for testing the matchmaker. 2024-08-23 21:10:01 +02:00
670a705326 test multiple clients now working with a fully concurrent registration
of clients.
2024-08-23 16:32:41 +02:00
538a697770 multiple clients connecting to multiple agents.
Clients cannot yet be started in parallel. due to subtle issue in test
setup with accept
2024-08-22 22:44:54 +02:00
b4fb87134a using AssertReadData/AssertWriteData now where possible. 2024-08-22 17:01:04 +02:00
496380156d added leak detection using the goleak library 2024-08-22 16:38:37 +02:00
7d25f39f5b test for connecting clients and bidirectional communication to agent.
Required lots of rework since the GOBChannel appeared to be reading
ahead of the data it actually needed. Now using more low-level IO
to send the clientId over to the agent instead.
2024-08-22 16:16:02 +02:00
53534af27c test for ListenForAgentEvents implemented. 2024-08-21 17:48:47 +02:00
61e95ab2eb minor cleanup 2024-08-21 16:59:33 +02:00
e0b6e644b6 added a few tests for inmemoryconnection. 2024-08-21 16:58:15 +02:00
ab5fdf4f7e renamed ChannelReadWriter to ChannelReadWriteCloser. 2024-08-21 16:34:16 +02:00
dca0772dc3 fixed issue with ChannelReadWriter for unbuffered channels.
Was a concurrency issue int he Write method that retained the
slice p that was passed in, making concurrency issues much more likely
with unbuffered channels.
2024-08-21 16:32:37 +02:00
d5c0206b9c basic gobchannel tests now done. 2024-08-20 11:47:36 +02:00
ed04ac035a discovered net.Pipe for testing tcp connnections which makes the
previously developed ChannelReadWriter and InmemoryConnection obsolete.
2024-08-20 11:28:09 +02:00
c55c4aa365 fix for non-deterministic test. 2024-08-20 09:46:04 +02:00
f88def71ec channelreadwriter test done. 2024-08-20 09:39:22 +02:00
d5a6d70bc4 restructuring test code by introducing a testsupport package
Making it easy 6to start a porof server in tests.
2024-08-20 09:01:46 +02:00