TCP: Allow to get written image count
This commit is contained in:
@@ -1548,11 +1548,7 @@ TEST_CASE("JFJochIntegrationTest_TCP_lysozyme_spot_and_index", "[JFJochReceiver]
|
||||
|
||||
REQUIRE_NOTHROW(writer_future.get());
|
||||
|
||||
auto ack = pusher.GetAckProgress();
|
||||
auto ack = pusher.GetImagesWritten();
|
||||
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());
|
||||
CHECK(ack == experiment.GetImageNum());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user