Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d5b7840
)
tcp: unittest: do not access non-existent samples
69/22669/2
author
Benoît Ganne
<
[email protected]
>
Mon, 30 Sep 2019 10:56:28 +0000
(12:56 +0200)
committer
Andrew Yourtchenko
<
[email protected]
>
Fri, 11 Oct 2019 14:41:20 +0000
(14:41 +0000)
There is no bt->samples for this test, do not use it.
Type: fix
Change-Id: I2090290887bc5c0b5cdb0561cf2bf72a87781089
Signed-off-by: Benoît Ganne <
[email protected]
>
(cherry picked from commit
b0a7c484eec9a813751e6e3fa71a9955ad5f0f74
)
src/plugins/unittest/tcp_test.c
patch
|
blob
|
history
diff --git
a/src/plugins/unittest/tcp_test.c
b/src/plugins/unittest/tcp_test.c
index
f6a389c
..
6f189c4
100644
(file)
--- a/
src/plugins/unittest/tcp_test.c
+++ b/
src/plugins/unittest/tcp_test.c
@@
-926,7
+926,6
@@
tcp_test_delivery (vlib_main_t * vm, unformat_input_t * input)
TCP_TEST (rs->delivered == 2 * burst, "delivered should be 200");
TCP_TEST (rs->prior_delivered == burst, "delivered should be 100");
TCP_TEST (!(rs->flags & TCP_BTS_IS_RXT), "not retransmitted");
- TCP_TEST (!(bts->flags & TCP_BTS_IS_APP_LIMITED), "not app limited");
TCP_TEST (tc->first_tx_time == 2, "first_tx_time %u", tc->first_tx_time);
/*