lwip/test/unit/tcp
Joel Cunningham 8bf402fd67 Fix unit test with assumed congestion avoidance
test_tcp_fast_rexmit_wraparound correctness relied on the congestion
window being in congestion avoidance so that only a single TCP_MSS
segment is sent upon ACKing the first segment.

It's not known whether the test was relying tcp_alloc() to set ssthresh
to 0 and thus start in congestion avoidance or if the test was working by
accident until changes in b90a54f989

This fixes the test by enforcing the requirement of starting in
congestion avoidance

Signed-off-by: goldsimon <goldsimon@gmx.de>
2017-03-10 08:12:17 +01:00
..
tcp_helper.c fix compiling TCP unit tests with IPv6 enabled 2017-01-16 14:21:08 +01:00
tcp_helper.h minor: macros should not end with underscore(s) 2016-08-08 21:47:53 +02:00
test_tcp_oos.c Fix clang address sanitizer errors in unit tests (buffers too small) 2016-08-07 20:21:27 +02:00
test_tcp_oos.h minor: macros should not end with underscore(s) 2016-08-08 21:47:53 +02:00
test_tcp.c Fix unit test with assumed congestion avoidance 2017-03-10 08:12:17 +01:00
test_tcp.h minor: macros should not end with underscore(s) 2016-08-08 21:47:53 +02:00