Use data_collection_id to detect issues in work completion queue

This commit is contained in:
2023-05-31 12:10:57 +02:00
parent ea3f976e66
commit 47330228ef
12 changed files with 40 additions and 32 deletions

View File

@@ -64,7 +64,7 @@ TEST_CASE("ProcessRawPacketTest") {
Completion c;
REQUIRE(c_fifo.Get(c));
CHECK(c.module == 2);
CHECK(c.module_number == 2);
CHECK(c.bunchid == 84);
CHECK(c.frame_number == 0);
CHECK(c.packet_count == 1);
@@ -72,7 +72,7 @@ TEST_CASE("ProcessRawPacketTest") {
CHECK(c.packet_mask[1] == 0);
REQUIRE(c_fifo.Get(c));
CHECK(c.module == 2);
CHECK(c.module_number == 2);
CHECK(c.bunchid == 84);
CHECK(c.frame_number == 1);
CHECK(c.packet_count == 1);
@@ -81,7 +81,7 @@ TEST_CASE("ProcessRawPacketTest") {
REQUIRE(c_fifo.Get(c));
CHECK(c.module == 3);
CHECK(c.module_number == 3);
CHECK(c.bunchid == 84);
CHECK(c.frame_number == 2);
CHECK(c.packet_count == 1);