mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-04 13:48:41 +02:00
Make the test more clear
This commit is contained in:
@@ -163,7 +163,8 @@ TEST(ZmqReceiver, simple_recv)
|
||||
this_thread::sleep_for(chrono::milliseconds(100));
|
||||
|
||||
for (size_t i=0; i<n_msg; i++) {
|
||||
EXPECT_TRUE(receiver.receive().first != nullptr);
|
||||
auto data = receiver.receive();
|
||||
EXPECT_TRUE(data.first != nullptr);
|
||||
}
|
||||
|
||||
sender.join();
|
||||
|
||||
Reference in New Issue
Block a user