TCP: Fixes - allow for live monitoring of ACK progress
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user