zephyr/tests/net
Robert Lubos 45a79d3208 tests: net: conn_mgr_monitor: Improve test reliability under heavy load
conn_mgr_tests were occasionally failing when executed under heavy load.
The reason for this are short timeout values used when waiting for
events - if executed under heavy load, the even might not be delivered
on time.

An obvious solution would be to simply increase the timeout, however
when testing it turned out the actual timeout value would need to be
pretty high to ensure tests reliability. Therefore, to avoid
unnecessary increase of the overall test execution time to protect
against rare edge cases, rework the event waiting mechanism to use
semaphore instead. The test cases will now specify the events they're
waiting for, and the event handlers will feed the semaphore if all
expected events have been delivered. This allows the increase the
maximum timeout when waiting for events, w/o affecting too much the test
execution time under normal conditions.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-10-15 13:52:24 +02:00
..
6lo net: Provide separate configs for TX/RX memory pool for variable bufs 2024-03-29 15:56:07 -05:00
all net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
arp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
bridge tests: net: bridge: Update the bridging tests 2024-09-06 18:01:15 -04:00
checksum_offload lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
conn_mgr_conn test: Apply semantic patch file ztest_strcmp.cocci 2024-06-14 19:25:42 +02:00
conn_mgr_monitor tests: net: conn_mgr_monitor: Improve test reliability under heavy load 2024-10-15 13:52:24 +02:00
context lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
dhcpv4 tests: net: Exclude native_posix because of socket service 2024-05-20 14:25:44 +03:00
dhcpv6 tests: net: dhcpv6: Reapply LL address on iface up 2024-05-14 18:20:56 -04:00
ethernet_mgmt
hostname lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmpv4 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmpv6 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ieee802154 tests/net: Don't test on native_posix 2024-09-25 04:04:36 -04:00
iface lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
igmp tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
ip-addr tests: use appropriate sys_randX_get() 2024-04-05 10:57:45 -05:00
ipv4_fragment lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ipv6 net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
ipv6_fragment lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
lib net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
mgmt tests: Add a test for duplicate event handlers 2024-03-08 09:35:04 +01:00
mld net: ipv6: Make Multicast Listener Discovery API public 2024-10-08 17:00:06 +02:00
mocks
neighbor net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
net_pkt net: pkt: Add flags to indicate the pkt should be timestamped 2024-06-13 05:40:41 -04:00
npf
offloaded_netdev test: net: offloaded_netdev: Add tests for IPv4/6 address registration 2024-09-23 14:08:34 +01:00
pm tests/samples: net: Fix the max number of file descriptors 2024-09-30 17:12:15 +01:00
ppp/driver lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
promiscuous tests|scripts/net: Change native_posix references to native_sim 2024-03-20 15:43:05 +01:00
ptp/clock tests/net: Don't test on native_posix 2024-09-25 04:04:36 -04:00
route lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
route_mcast lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
shell lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
socket net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
tcp misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
traffic_class tests/net: Don't test on native_posix 2024-09-25 04:04:36 -04:00
trickle lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tx_timestamp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
udp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
utils
virtual lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
vlan lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
wifi/wifi_nm boards: frdm_rw612: Add ethernet to twister yaml 2024-10-09 18:23:57 +01:00