Commit Graph

16 Commits

Author SHA1 Message Date
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
25ba2cf464 test case for single agent registration. 2024-08-22 10:28:54 +02:00
a8873f2f2f test for initialization failure when connection is closed. 2024-08-21 23:52:06 +02:00
5d65f3bbd4 protocol version test implemented between agent and server (and found
that it did not work)
2024-08-21 23:48:37 +02:00
53534af27c test for ListenForAgentEvents implemented. 2024-08-21 17:48:47 +02:00
ce45c59d33 added initialization test 2024-08-21 17:11:32 +02:00
61e95ab2eb minor cleanup 2024-08-21 16:59:33 +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
6dc8f67570 bidirectional communication now tested. 2024-08-20 12:20:12 +02:00
11c894e906 tested connections through the session. 2024-08-20 12:16:02 +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
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
3867b0432d a lot of progress in setting up tests for the communication.
Wrote ChannelReadWriter that simulates a connection inmemory.
This is used by the agentserver test for testing the initialization. The
first test is already working.
2024-08-19 22:31:02 +02:00