aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gtest/Makefile2
-rw-r--r--test/gtest/test_tle_tcp_stream.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/test/gtest/Makefile b/test/gtest/Makefile
index e980c23..3858306 100644
--- a/test/gtest/Makefile
+++ b/test/gtest/Makefile
@@ -125,7 +125,7 @@ LDLIBS += -lstdc++
LDLIBS += -L$(GMOCK_DIR) -L$(GMOCK_DIR)/../lib -lgmock
LDLIBS += -L$(GMOCK_DIR)/gtest -L$(GMOCK_DIR)/../lib -lgtest
LDLIBS += -L$(RTE_OUTPUT)/lib
-LDLIBS += -whole-archive -ltle_l4p -ltle_dring -ltle_timer
+LDLIBS += -whole-archive -ltle_l4p -ltle_dring -ltle_memtank -ltle_timer
include $(TLDK_ROOT)/mk/tle.app.mk
endif
diff --git a/test/gtest/test_tle_tcp_stream.h b/test/gtest/test_tle_tcp_stream.h
index 2caf2b5..cb2946e 100644
--- a/test/gtest/test_tle_tcp_stream.h
+++ b/test/gtest/test_tle_tcp_stream.h
@@ -41,6 +41,10 @@ static struct tle_ctx_param ctx_prm_tmpl = {
.socket_id = SOCKET_ID_ANY,
.proto = TLE_PROTO_TCP,
.max_streams = MAX_STREAMS,
+ . free_streams = {
+ .min = 0,
+ .max = 0,
+ },
.max_stream_rbufs = MAX_STREAM_RBUFS,
.max_stream_sbufs = MAX_STREAM_SBUFS,
};