Commit Graph

13 Commits

Author SHA1 Message Date
eb6da5da99 test case for single agent registration. 2024-09-08 11:16:49 +02:00
80488fa7c8 test for initialization failure when connection is closed. 2024-09-08 11:16:49 +02:00
465dc1108f protocol version test implemented between agent and server (and found
that it did not work)
2024-09-08 11:16:49 +02:00
ea0b4282ba test for ListenForAgentEvents implemented. 2024-09-08 11:16:49 +02:00
7b7827824e added initialization test 2024-09-08 11:16:49 +02:00
d6912316a8 minor cleanup 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
cfed204af5 bidirectional communication now tested. 2024-09-08 11:16:49 +02:00
1ca7209588 tested connections through the session. 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
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
3f3635b056 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-09-08 11:16:49 +02:00