Commit Graph

10 Commits

Author SHA1 Message Date
45595a34aa table testing with go routines only really works well when standard
assertions are ued. With suite.Required() there are issues in getting
the test results correct.

Instead, use standard assertions and use suite.T().Failed() to do
early returns.
2024-08-20 00:52:57 +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
b95314c964 typo 2024-08-19 19:50:36 +02:00
91ea4632a3 now using a testsuite for the throttler tests. 2024-08-19 19:42:51 +02:00
60cda211ef some moving around of files in the throttling package to make the
structure more clear.
2024-08-18 20:56:22 +02:00
52160a368c more generalization of how time is handled in the tests.
Asynchronous variant that is easier to use and multi-thread safe.
2024-08-16 21:08:44 +02:00
ca68419ba2 moved the throttler to its own package. 2024-08-16 19:29:50 +02:00
fd18a63360 now using maps of Guid to Agent/Client in the state, working towards the definitive solution.
Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that.
2024-08-15 21:04:31 +02:00
Erik Brakkee
f0dd810541 many small changes
* removed the Async utility
* now using Ping message to webclient for keep alive instaed of actual content
* added remote shell to AgentInfo
* retry of connections to the agent
* better logging for SynchronizeStreams
2024-07-31 19:30:38 +02:00
f382c02b41 restructuring 2024-07-30 19:59:13 +02:00