mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-06 23:28:40 +02:00
Close files manually in tests
This commit is contained in:
@@ -52,6 +52,8 @@ TEST(ReplayH5Reader, basic_interaction)
|
||||
for (size_t i=0; i<MODULE_N_PIXELS; i++) {
|
||||
w_frame_buffer[i] = r_frame_buffer[i];
|
||||
}
|
||||
|
||||
reader.close_file();
|
||||
}
|
||||
|
||||
TEST(ReplayH5Reader, missing_frame)
|
||||
@@ -103,4 +105,6 @@ TEST(ReplayH5Reader, missing_frame)
|
||||
for (size_t i=0; i<MODULE_N_PIXELS; i++) {
|
||||
r_frame_buffer[i] = 0;
|
||||
}
|
||||
|
||||
reader.close_file();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user