Skip to content
Commit 68be56d2 authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

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: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent cc77f274
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment