1b98b0fa90 
							
						 
					 
					
						
						
							
							now asserting succesful client creation after calling connectClient()  
						
						... 
						
						
						
						THis way conenctClient(0 can be used also for cases where client
connection
is not successful. 
						
					 
					
						2024-08-24 20:44:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							f16d228f6f 
							
						 
					 
					
						
						
							
							connectClient now returns an error when unsuccessful.  
						
						
						
					 
					
						2024-08-24 20:43:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							7e062f5777 
							
						 
					 
					
						
						
							
							reintroduced ClientInfo because it does appear to work.  
						
						... 
						
						
						
						Most likely some error elsewhere caused it not to work previously 
						
					 
					
						2024-08-24 20:34:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							d1f646e7eb 
							
						 
					 
					
						
						
							
							connectClient() extracted to make it easy to connect a client.  
						
						
						
					 
					
						2024-08-24 19:57:02 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							e1bf733ebb 
							
						 
					 
					
						
						
							
							changes for testing agent connect by returning a synchronizer() function  
						
						... 
						
						
						
						that must be called after connect to synchronize data. 
						
					 
					
						2024-08-24 19:48:53 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							8fcdf5711f 
							
						 
					 
					
						
						
							
							now also testing client removal.  
						
						
						
					 
					
						2024-08-22 17:33:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							4e2265c1b3 
							
						 
					 
					
						
						
							
							remove agent now also tested.  
						
						
						
					 
					
						2024-08-22 17:28:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							acd9f0441a 
							
						 
					 
					
						
						
							
							some refactoring inpraparation for multiple agents and clients.  
						
						
						
					 
					
						2024-08-22 17:13:34 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b4fb87134a 
							
						 
					 
					
						
						
							
							using AssertReadData/AssertWriteData now where possible.  
						
						
						
					 
					
						2024-08-22 17:01:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b56950d4c8 
							
						 
					 
					
						
						
							
							test for unknown rendez-vous id.  
						
						
						
					 
					
						2024-08-22 16:56:21 +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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							c622caf7be 
							
						 
					 
					
						
						
							
							test for duplicate id and new id gene4ration done  
						
						
						
					 
					
						2024-08-22 12:00:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							433e65c924 
							
						 
					 
					
						
						
							
							agent registers with duplica id  
						
						
						
					 
					
						2024-08-22 11:24:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							ca3225563a 
							
						 
					 
					
						
						
							
							testing many agents registring  
						
						
						
					 
					
						2024-08-22 11:05:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							07a5454e88 
							
						 
					 
					
						
						
							
							prepare test for more agents and clietns.  
						
						
						
					 
					
						2024-08-22 10:38:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							25ba2cf464 
							
						 
					 
					
						
						
							
							test case for single agent registration.  
						
						
						
					 
					
						2024-08-22 10:28:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b37fb4bc67 
							
						 
					 
					
						
						
							
							fix in comments.  
						
						
						
					 
					
						2024-08-22 00:05:43 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							3d46ee6c10 
							
						 
					 
					
						
						
							
							agentlistener tested.  
						
						
						
					 
					
						2024-08-22 00:04:49 +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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							c25b4b4df9 
							
						 
					 
					
						
						
							
							now using testsuite also for linkedmap  
						
						
						
					 
					
						2024-08-20 12:00:23 +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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b3f5eead9b 
							
						 
					 
					
						
						
							
							some more tests added.  
						
						
						
					 
					
						2024-08-20 01:02:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							e9383caa01 
							
						 
					 
					
						
						
							
							more symmetry. SetupHeartBeat froma agent to server now done in separate  
						
						... 
						
						
						
						call. 
						
					 
					
						2024-08-19 19:46:39 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							91ea4632a3 
							
						 
					 
					
						
						
							
							now using a testsuite for the throttler tests.  
						
						
						
					 
					
						2024-08-19 19:42:51 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							a62a513105 
							
						 
					 
					
						
						
							
							go conventions: context should be first argument.  
						
						
						
					 
					
						2024-08-19 19:22:44 +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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							57c77e7d07 
							
						 
					 
					
						
						
							
							initial state is now sent again when the websocket connection is  
						
						... 
						
						
						
						established.
Also throttling based on user input. When browser sends multiple
messages per second the user will still only get one notification per
second at most. 
						
					 
					
						2024-08-18 11:44:16 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							9a5aaf56eb 
							
						 
					 
					
						
						
							
							consistent casing in the titles (all lower case)  
						
						
						
					 
					
						2024-08-18 01:19:46 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							a3fe2fbcb6 
							
						 
					 
					
						
						
							
							hostkey is now sent from the server to the agent so that at a later  
						
						... 
						
						
						
						stage we can make the hostkey conrfigurable at the server level instead
of using a fixed hardcoded key. 
						
					 
					
						2024-08-17 21:35:29 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b5a9ecf5e8 
							
						 
					 
					
						
						
							
							more docs.  
						
						
						
					 
					
						2024-08-17 10:41:22 +02:00