commit | ed0bad34301741c6ea7473e891d1c6886e8db9e1 | [log] [tgz] |
---|---|---|
author | Mario Emmenlauer <memmenlauer@biodataanalysis.de> | Fri Apr 24 08:50:43 2020 +0200 |
committer | GitHub <noreply@github.com> | Fri Apr 24 07:50:43 2020 +0100 |
tree | 45dae220a227ba083a2c165d0f7f6b1ad45d4c88 | |
parent | e98ba9cb841153fcbe2185ca44c77dbbc745ceb3 [diff] [blame] |
Add isOpen() to TServerTransport Client: cpp
diff --git a/lib/cpp/test/TSocketInterruptTest.cpp b/lib/cpp/test/TSocketInterruptTest.cpp index 366242f..a546c23 100644 --- a/lib/cpp/test/TSocketInterruptTest.cpp +++ b/lib/cpp/test/TSocketInterruptTest.cpp
@@ -53,6 +53,7 @@ BOOST_AUTO_TEST_CASE(test_interruptable_child_read) { TServerSocket sock1("localhost", 0); sock1.listen(); + BOOST_CHECK(sock1.isOpen()); int port = sock1.getPort(); TSocket clientSock("localhost", port); clientSock.open();