diff options
author | t3sserakt <t3ss@posteo.de> | 2021-10-07 13:07:30 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2021-10-07 13:07:30 +0200 |
commit | d7fa0579995790840199ec86cb4d518f9d372fcd (patch) | |
tree | b41accedea6cd0fb78d75afee61911b94a1099fb /src/transport/test_transport_plugin_cmd_simple_send.c | |
parent | 658bceab7ba3aab5121e8874d8508264d3f63ce3 (diff) | |
download | gnunet-d7fa0579995790840199ec86cb4d518f9d372fcd.tar.gz gnunet-d7fa0579995790840199ec86cb4d518f9d372fcd.zip |
- add generic topology configuration by file
- cmd simple send using file configuration from file
- added cmd to check the logs for backchannel encapsulation
- added cmd which notifies the master loop of local loop being prepared to finish
- added logging to helper.c
- moved code from connecting peers cmd into global functions
- added parameters given to the connecting peers cmd
- added assertion when notifying the transport service about a new queue, if the communicator has no intial capacity
- added optional valgrind cmd to test script
- added flag für queues with unlimited length
- added check for queues with higher priority
- added attribute queue_capacity to struct Queue
- bug fixing worker task for kce generation and transport notification about available queue in udp communicator
- change value for unlimited queue length from 0 to UINT16_MAX in tcp communicator and service
- added loop to stop the test system for the globally known peers in stop testsystem cmd
- refactored endless growing array to handle further messages from the local loops, and added logic to handle the local test prepare msg
- added utility methods in testing.c
- added forwarding of all tests prepared msg in gnunet-cmds-helper.c
- added cmd to end loop without shutdown
- added without shutdown cmd to simple send testcase
- added backchannel check, without shutdown and prepared cmd to udp backchannel testcase.
Diffstat (limited to 'src/transport/test_transport_plugin_cmd_simple_send.c')
-rw-r--r-- | src/transport/test_transport_plugin_cmd_simple_send.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/test_transport_plugin_cmd_simple_send.c b/src/transport/test_transport_plugin_cmd_simple_send.c index 07255a1a5..b578219ca 100644 --- a/src/transport/test_transport_plugin_cmd_simple_send.c +++ b/src/transport/test_transport_plugin_cmd_simple_send.c | |||
@@ -180,7 +180,8 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip, | |||
180 | GNUNET_TESTING_cmd_system_destroy ("system-destroy", | 180 | GNUNET_TESTING_cmd_system_destroy ("system-destroy", |
181 | "system-create"), | 181 | "system-create"), |
182 | GNUNET_TESTING_cmd_local_test_finished ("local-test-finished", | 182 | GNUNET_TESTING_cmd_local_test_finished ("local-test-finished", |
183 | write_message) | 183 | write_message), |
184 | GNUNET_TESTING_cmd_end_without_shutdown () | ||
184 | }; | 185 | }; |
185 | 186 | ||
186 | GNUNET_TESTING_run (NULL, | 187 | GNUNET_TESTING_run (NULL, |
@@ -201,6 +202,10 @@ libgnunet_test_transport_plugin_cmd_simple_send_init (void *cls) | |||
201 | { | 202 | { |
202 | struct GNUNET_TESTING_PluginFunctions *api; | 203 | struct GNUNET_TESTING_PluginFunctions *api; |
203 | 204 | ||
205 | GNUNET_log_setup ("simple-send", | ||
206 | "DEBUG", | ||
207 | NULL); | ||
208 | |||
204 | api = GNUNET_new (struct GNUNET_TESTING_PluginFunctions); | 209 | api = GNUNET_new (struct GNUNET_TESTING_PluginFunctions); |
205 | api->start_testcase = &start_testcase; | 210 | api->start_testcase = &start_testcase; |
206 | api->all_peers_started = &all_peers_started; | 211 | api->all_peers_started = &all_peers_started; |