mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-01 03:02:22 +02:00
Fix test according to new logic
This commit is contained in:
@@ -92,8 +92,8 @@ TEST(ReplayH5Reader, missing_frame)
|
||||
|
||||
ASSERT_EQ(frame_present, false);
|
||||
|
||||
// All metadata has to be 0.
|
||||
EXPECT_EQ(r_metadata.pulse_id, 0);
|
||||
// All metadata has to be 0, expect pulse_id.
|
||||
EXPECT_EQ(r_metadata.pulse_id, pulse_id-1);
|
||||
EXPECT_EQ(r_metadata.frame_index, 0);
|
||||
EXPECT_EQ(r_metadata.daq_rec, 0);
|
||||
EXPECT_EQ(r_metadata.n_received_packets, 0);
|
||||
|
||||
Reference in New Issue
Block a user