TCP: Fixes - allow for live monitoring of ACK progress

This commit is contained in:
2026-03-04 15:54:40 +01:00
parent 3f8736dd34
commit 536fc0761d
8 changed files with 318 additions and 15 deletions

View File

@@ -1547,4 +1547,12 @@ TEST_CASE("JFJochIntegrationTest_TCP_lysozyme_spot_and_index", "[JFJochReceiver]
REQUIRE(!service.GetProgress().has_value());
REQUIRE_NOTHROW(writer_future.get());
auto ack = pusher.GetAckProgress();
REQUIRE(ack.has_value());
CHECK(ack->data_acked_ok == experiment.GetImageNum());
CHECK(ack->data_acked_bad == 0);
CHECK(ack->data_acked_total == experiment.GetImageNum());
CHECK(ack->data_ack_pending == 0);
CHECK(ack->data_sent == experiment.GetImageNum());
}