From cb2965991f2229e92fdd082f15cfd892a165533e Mon Sep 17 00:00:00 2001 From: John Jones Date: Fri, 4 May 2018 07:47:37 -0500 Subject: [PATCH] Added comment to clarify test purpose --- tests/io/tcp_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/io/tcp_test.cpp b/tests/io/tcp_test.cpp index 535e607..03d46ee 100644 --- a/tests/io/tcp_test.cpp +++ b/tests/io/tcp_test.cpp @@ -4,6 +4,11 @@ BOOST_AUTO_TEST_SUITE(tcp_tests) +/*** + * Running this test through valgrind will show + * a memory leak due to lack of logic in destructor. + * See https://github.com/bitshares/bitshares-fc/blob/51688042b0b9f99f03224f54fb937fe024fe5ced/src/asio.cpp#L152 + */ BOOST_AUTO_TEST_CASE(tcpconstructor_test) { fc::tcp_socket socket;