zephyr/tests/net/socket/tls
Robert Lubos 312e000a5f tests: net: socket: tls: Fix race on TCP socket close
One of the tests closed the underlying TCP connection right after
establishing one. This caused a certain race between incoming TLS
handshake data and entering FIN1 state (experienced on nrF52840), where
the TLS handshake data could be received after the FIN1 state was
entered, causing the server side to send RST packet. This disrupted the
test flow, as graceful TCP connection teardown was expected.

Fix this, by adding a small delay for such case to avoid the race.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-01-04 17:10:15 -06:00
..
src tests: net: socket: tls: Fix race on TCP socket close 2024-01-04 17:10:15 -06:00
CMakeLists.txt tests: net: socket: tls: Add more tests covering poll() 2024-01-03 19:00:15 +00:00
prj.conf tests: net: socket: tls: Add more tests covering socket behaviors 2023-12-20 11:10:57 +01:00
testcase.yaml tests: net: socket: tls: Disable vmu_rt1170 platform 2023-12-20 11:10:57 +01:00