74b7b7d5e1
removed some old debugging output
2024-09-08 11:16:49 +02:00
8fe79e3c38
first integration test implemented using testcontainers.
2024-09-08 11:16:49 +02:00
e03e7d7b9a
work in progress for testing the matchmaker.
2024-09-08 11:16:49 +02:00
2b9a9f550d
test multiple clients now working with a fully concurrent registration
...
of clients.
2024-09-08 11:16:49 +02:00
0cd0b543a2
multiple clients connecting to multiple agents.
...
Clients cannot yet be started in parallel. due to subtle issue in test
setup with accept
2024-09-08 11:16:49 +02:00
6e97162923
using AssertReadData/AssertWriteData now where possible.
2024-09-08 11:16:49 +02:00
563c8f2ca7
added leak detection using the goleak library
2024-09-08 11:16:49 +02:00
28b2545163
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-09-08 11:16:49 +02:00
ea0b4282ba
test for ListenForAgentEvents implemented.
2024-09-08 11:16:49 +02:00
d6912316a8
minor cleanup
2024-09-08 11:16:49 +02:00
2a663c19d2
added a few tests for inmemoryconnection.
2024-09-08 11:16:49 +02:00
6eef930232
renamed ChannelReadWriter to ChannelReadWriteCloser.
2024-09-08 11:16:49 +02:00
f82f656b50
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-09-08 11:16:49 +02:00
bf837d31b2
basic gobchannel tests now done.
2024-09-08 11:16:49 +02:00
2e8107ddbd
discovered net.Pipe for testing tcp connnections which makes the
...
previously developed ChannelReadWriter and InmemoryConnection obsolete.
2024-09-08 11:16:49 +02:00
3d0f343098
fix for non-deterministic test.
2024-09-08 11:16:49 +02:00
2153d23e2e
channelreadwriter test done.
2024-09-08 11:16:49 +02:00
d3d4c7242a
restructuring test code by introducing a testsupport package
...
Making it easy 6to start a porof server in tests.
2024-09-08 11:16:49 +02:00