Commit 7814f705 authored by Francis Dupont's avatar Francis Dupont

[4009] Fixed the failing unit test

parent 0a8fd011
......@@ -464,8 +464,14 @@ TEST(TCPSocket, sequenceTest) {
}
}
// Has the client run?
if (!client_complete) {
if (client_cb.called() != client_cb.queued()) {
// No. Run the service another time.
continue;
}
// Client callback must have run. Check that it ran OK.
EXPECT_EQ(TCPCallback::READ, client_cb.called());
EXPECT_EQ(0, client_cb.getCode());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment