Branch: refs/heads/stable1-proposed Home: https://github.com/kronosnet/kronosnet Commit: e90cf369cd25ac0f3b199530dbbfb49d3a70a8e8 https://github.com/kronosnet/kronosnet/commit/e90cf369cd25ac0f3b199530dbbfb4... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2020-02-28 (Fri, 28 Feb 2020)
Changed paths: M libknet/transport_common.c M libknet/transport_sctp.c
Log Message: ----------- [transports] use SO_REUSEADDR only for sctp
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Commit: e61d0866cf5f60ff1fc06a3b2d00622ae501b65d https://github.com/kronosnet/kronosnet/commit/e61d0866cf5f60ff1fc06a3b2d0062... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2020-02-28 (Fri, 28 Feb 2020)
Changed paths: M libknet/tests/api_knet_handle_clear_stats.c M libknet/tests/api_knet_handle_pmtud_set.c M libknet/tests/api_knet_host_remove.c M libknet/tests/api_knet_link_add_acl.c M libknet/tests/api_knet_link_clear_acl.c M libknet/tests/api_knet_link_clear_config.c M libknet/tests/api_knet_link_get_config.c M libknet/tests/api_knet_link_get_enable.c M libknet/tests/api_knet_link_get_link_list.c M libknet/tests/api_knet_link_get_ping_timers.c M libknet/tests/api_knet_link_get_pong_count.c M libknet/tests/api_knet_link_get_priority.c M libknet/tests/api_knet_link_get_status.c M libknet/tests/api_knet_link_insert_acl.c M libknet/tests/api_knet_link_rm_acl.c M libknet/tests/api_knet_link_set_config.c M libknet/tests/api_knet_send.c M libknet/tests/api_knet_send_compress.c M libknet/tests/api_knet_send_crypto.c M libknet/tests/api_knet_send_loopback.c M libknet/tests/api_knet_send_sync.c M libknet/tests/fun_pmtud_crypto.c M libknet/tests/test-common.c M libknet/tests/test-common.h
Log Message: ----------- [tests] rework test suite link port allocation
Logic is to try to configure a link with port X and if it fails, try the next port. This avoids port collisions between services and knet test suite.
Please note that the implementation in test-common.c is NOT super clean. There is still some redundant code in there that is left on purpose.
There is another branch, not yet merged, that implements functional testing framework that does heavy use of those functions.
We will clean test-common.c as we port the functional testing branch and make it ready for merging.
For now, this is good enough to have a more stable test suite.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Compare: https://github.com/kronosnet/kronosnet/compare/fcbeda8f2010...e61d0866cf5f