zephyr/tests/net
Robert Lubos 68be56d282 tests: net: tcp: Fix server tests
Fixing the bug with shadowed ret variable (and hence not returning
timeout error) reveled another bug in TCP server tests. Here, the
listening context was incorrectly used to receive new data, and since it
never arrived, the function timed out.

This commits fixes that issue, and limits the retransmission timeout to
ensure that Nagle's algorithm impact does not affect test timings.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-08-09 20:01:39 -04:00
..
6lo samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
all net: l2: ieee802154: deprecate NET_L2_IEEE802154_ACK_REPLY 2023-06-17 16:20:21 -04:00
arp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
bridge samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
buf samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
buf_simple samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
checksum_offload samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
conn_mgr net: conn_mgr: Support Auto-Down 2023-06-30 16:10:23 +02:00
conn_mgr_conn net: conn_mgr: Bulk convenience functions 2023-06-30 16:10:23 +02:00
context samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
dhcpv4 test: DHCPv4: Add test for option callbacks 2023-05-22 15:25:40 +02:00
ethernet_mgmt samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
hostname samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
icmpv4 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
icmpv6 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ieee802154 net: l2: ieee802154: unified assertion order 2023-07-14 09:38:01 +02:00
iface tests: net: if: Add tests to verify net_if_ipv4/6_addr_foreach() 2023-07-25 14:18:54 +02:00
igmp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ip-addr samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ipv4_fragment samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ipv6 net: iface: Improve thread safety of net_if_ipv*_maddr_* functions 2023-05-10 11:06:15 +02:00
ipv6_fragment samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
lib test lwm2m/engine: Fix build warning 2023-08-02 23:33:37 +02:00
mgmt samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mld samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mocks test: net: buf_simple: Add unit tests for simple buffers 2023-03-15 10:50:16 +01:00
neighbor samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
net_pkt net: pkt: Allow zero payload for non-IPv4/v6 frames 2023-02-06 10:04:03 +01:00
npf tests: net: pkt_filter: Add TCs for new hooks 2023-07-10 09:27:47 +02:00
offloaded_netdev samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
pm samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ppp/driver drivers/gsm_ppp: Update existing modules to use PPP L2 2023-06-17 07:46:21 -04:00
promiscuous samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ptp/clock samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
route samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
route_mcast samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
shell samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
socket tests: net: tcp: Default disable logging in TCP socket test 2023-08-09 08:34:06 +00:00
tcp tests: net: tcp: Fix server tests 2023-08-09 20:01:39 -04:00
traffic_class samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
trickle samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
tx_timestamp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
udp includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
utils samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
virtual samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
vlan samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
wifi/wifi_nm tests: wifi: Add Wi-Fi test suite 2023-07-11 14:55:30 +02:00