zephyr/tests
Sjors Hettinga cf3466ff74 tests: net: socket: tcp: Make test_open_close_immediately more robust
The close function on a TCP socket can return before the complete
socket has been closed, as there might be packets still in flight.
Modify the test to wait briefly (less then the retransmit time), before
counting the number of still open net_contexts. This makes the test
outcome not dependent on the scheduling order of the different tasks.

Secondly the test actually checks the number of open contexts to be zero
so there is no need to wait for any open contexts to still close.

Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
2022-05-05 14:45:02 -05:00
..
application_development/gen_inc_file kconfig: Rename the ZTEST stack size option to align with the rest 2022-02-22 08:23:05 -05:00
arch tests: x86/info: make it work with CONFIG_COUNTER_CMOS=n 2022-05-04 09:42:26 -05:00
benchmarks tests: cmsis_dsp: Add mps3_an547 as integration platform for FPU tests 2022-05-05 11:58:11 +09:00
bluetooth tests: Bluetooth: df: Enable refactored LLCPs for df conn test 2022-05-05 14:41:59 -05:00
boards logging: cAVS HDA based logger 2022-05-04 18:56:13 -04:00
boot/uefi
cmake/config_dir
crypto tests: tinycrypt: fix test output 2022-04-08 09:36:34 +02:00
drivers tests: drivers: counter: add mimxrt QTMR to counter_basic_api test 2022-05-03 20:41:23 -05:00
kernel tests: fpu_sharing: Support FPU disable test for Cortex-A/R 2022-05-05 12:03:27 +09:00
lib tests: cmsis_dsp: Add mps3_an547 as integration platform for FPU tests 2022-05-05 11:58:11 +09:00
misc test: mpu: Add arm_mpu_regions test 2022-04-05 11:16:31 +02:00
net tests: net: socket: tcp: Make test_open_close_immediately more robust 2022-05-05 14:45:02 -05:00
posix samples: add module requirement into samples 2022-04-19 09:38:55 -04:00
subsys tests: logging: log_stack: Align stack usage 2022-05-04 18:56:55 -04:00
unit slist: Fix sys_slist_append_list with head and tail NULL break a list 2022-04-15 11:50:29 -07:00
ztest Revert "ztest: add userspace tests to base tests" 2022-04-26 18:55:32 -04:00