Branch: refs/heads/udp-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 6bb6d0eb9122865740c4ac870c438ec931159621
https://github.com/kronosnet/kronosnet/commit/6bb6d0eb9122865740c4ac870c438…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-02-27 (Thu, 27 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(a)redhat.com>
Branch: refs/heads/udp-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: e43b71bceeb1e0ade4c58f28707c7f35e93c58ea
https://github.com/kronosnet/kronosnet/commit/e43b71bceeb1e0ade4c58f28707c7…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-02-27 (Thu, 27 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(a)redhat.com>
Branch: refs/heads/udp-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 5afd3aa209db14cacd0d6e705c04c8e42135e14f
https://github.com/kronosnet/kronosnet/commit/5afd3aa209db14cacd0d6e705c04c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-02-26 (Wed, 26 Feb 2020)
Changed paths:
M libknet/tests/api_knet_send.c
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
DO NOT MERGE: basic implementation for port hopping
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>