-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Description
There is some kind of problem with TCPSocketServerTest unit test. All 4 fails:
The following tests FAILED:
21 - TCPSocketServerTest.exitsOnFirstConnectionClosed (OTHER_FAULT)
22 - TCPSocketServerTest.moreThanOneClientCanConnect (OTHER_FAULT)
23 - TCPSocketServerTest.receiveAndSendsSingleLineMassages (OTHER_FAULT)
24 - UnixSocketServerTest.fullLifecycle (OTHER_FAULT)
when I'm building cucumber with c++11 (and 14) enabled via CMake:
set_property(TARGET cucumber-cpp-nomain PROPERTY CXX_STANDARD 11)
set_property(TARGET cucumber-cpp PROPERTY CXX_STANDARD 11)
Those test failed before for me as outlined in #119 and then fixed itself after merging #120 for whatever reason.
Please help me investigate this issue.
EDIT:
full fail text:
21/91 Test #21: TCPSocketServerTest.exitsOnFirstConnectionClosed .................................***Exception: Other 0.07 sec
Running main() from gmock_main.cc
Note: Google Test filter = TCPSocketServerTest.exitsOnFirstConnectionClosed
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TCPSocketServerTest
[ RUN ] TCPSocketServerTest.exitsOnFirstConnectionClosed
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): accept: Already open
Start 22: TCPSocketServerTest.moreThanOneClientCanConnect
22/91 Test #22: TCPSocketServerTest.moreThanOneClientCanConnect ..................................***Exception: Other 0.08 sec
Running main() from gmock_main.cc
Note: Google Test filter = TCPSocketServerTest.moreThanOneClientCanConnect
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TCPSocketServerTest
[ RUN ] TCPSocketServerTest.moreThanOneClientCanConnect
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): accept: Already open
Start 23: TCPSocketServerTest.receiveAndSendsSingleLineMassages
23/91 Test #23: TCPSocketServerTest.receiveAndSendsSingleLineMassages ............................***Exception: Other 0.07 sec
Running main() from gmock_main.cc
Note: Google Test filter = TCPSocketServerTest.receiveAndSendsSingleLineMassages
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TCPSocketServerTest
[ RUN ] TCPSocketServerTest.receiveAndSendsSingleLineMassages
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): accept: Already open
Start 24: UnixSocketServerTest.fullLifecycle
24/91 Test #24: UnixSocketServerTest.fullLifecycle ...............................................***Exception: Other 0.12 sec
Running main() from gmock_main.cc
Note: Google Test filter = UnixSocketServerTest.fullLifecycle
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from UnixSocketServerTest
[ RUN ] UnixSocketServerTest.fullLifecycle
/home/konserw/git/cucumber-cpp/tests/integration/WireServerTest.cpp:179: Failure
Value of: client
Expected: eventually receives "Y"
Actual: 1528-byte object <D0-6F 53-00 00-00 00-00 00-00 00-00 00-00 00-00 F8-6F 53-00 00-00 00-00 78-73 53-00 00-00 00-00 98-7E 7C-74 FF-7F 00-00 A0-7E 7C-74 FF-7F 00-00 A0-7E 7C-74 FF-7F 00-00 98-80 7C-74 FF-7F 00-00 ... 40-83 7C-74 FF-7F 00-00 40-06 09-BA 7C-7F 00-00 00-00 00-00 00-00 00-00 00-00 60-01 00-00 00-00 28-7E 7C-74 FF-7F 00-00 60-00 09-BA 7C-7F 00-00 F0-FF 08-BA 7C-7F 00-00 00-00 09-BA 7C-7F 00-00>
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): accept: Already open
Metadata
Metadata
Assignees
Labels
No labels