diff options
author | Jianfeng Tan <henry.tjf@antfin.com> | 2019-11-18 06:59:50 +0000 |
---|---|---|
committer | Jianfeng Tan <henry.tjf@antfin.com> | 2020-03-05 01:31:33 +0800 |
commit | 78c896b3b3127515478090c19447e27dc406427e (patch) | |
tree | d6d67d4683e9ca0409f9984a834547a572fb5310 /test/gtest/test_tle_tcp_stream.cpp | |
parent | e4380f4866091fd92a7a57667dd938a99144f9cd (diff) |
TLDKv2dev-next-socket
Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
Signed-off-by: Jielong Zhou <jielong.zjl@antfin.com>
Signed-off-by: Jian Zhang <wuzai.zj@antfin.com>
Signed-off-by: Chen Zhao <winters.zc@antfin.com>
Change-Id: I55c39de4c6cd30f991f35631eb507f770230f08e
Diffstat (limited to 'test/gtest/test_tle_tcp_stream.cpp')
-rw-r--r-- | test/gtest/test_tle_tcp_stream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gtest/test_tle_tcp_stream.cpp b/test/gtest/test_tle_tcp_stream.cpp index b861049..1538f0b 100644 --- a/test/gtest/test_tle_tcp_stream.cpp +++ b/test/gtest/test_tle_tcp_stream.cpp @@ -86,7 +86,7 @@ TEST_F(test_tle_tcp_stream, tcp_stream_test_open_duplicate_ipv4) stream_dup = tle_tcp_stream_open(ctx, (const struct tle_tcp_stream_param*)&stream_prm); ASSERT_EQ(stream_dup, nullptr); - ASSERT_EQ(rte_errno, EEXIST); + ASSERT_EQ(rte_errno, EADDRINUSE); ret = tle_tcp_stream_close(stream); ASSERT_EQ(ret, 0); @@ -103,7 +103,7 @@ TEST_F(test_tle_tcp_stream, tcp_stream_test_open_duplicate_ipv6) stream_dup = tle_tcp_stream_open(ctx, (const struct tle_tcp_stream_param*)&stream_prm6); ASSERT_EQ(stream_dup, nullptr); - ASSERT_EQ(rte_errno, EEXIST); + ASSERT_EQ(rte_errno, EADDRINUSE); ret = tle_tcp_stream_close(stream6); ASSERT_EQ(ret, 0); |