Skip to content

Commit

Permalink
BaseTest: Accept events when no request have been sent
Browse files Browse the repository at this point in the history
Change-Id: I1863217f92c862db04b6ef15519fd68fddba6c3b
  • Loading branch information
jcaden committed May 23, 2016
1 parent 5eb489e commit fb1a601
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/BaseTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ void F::on_message (websocketpp::connection_hdl hdl,
std::unique_lock <std::mutex> lock (mutex);
GST_DEBUG ("Received a reply: %s", msg->get_payload().c_str() );

BOOST_REQUIRE_MESSAGE (sendingMessage, "Unexpected message received");

Json::Value recvMessage;
BOOST_REQUIRE_MESSAGE (reader.parse (msg->get_payload(), recvMessage),
"Cannot parse input message");
Expand Down

0 comments on commit fb1a601

Please sign in to comment.