Add JFJochReceiverTest_Cancel

This commit is contained in:
2023-05-08 21:22:28 +02:00
parent 0f4eccf733
commit 96cd6fe552
2 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ JFJochProtoBuf::ReceiverOutput RunJFJochReceiverTest(std::vector<AcquisitionDevi
if (x.GetImageNum() > 0) {
// Initial communication
if (abort) {
std::this_thread::sleep_for(std::chrono::seconds(180));
std::this_thread::sleep_for(std::chrono::seconds(60));
service.Cancel(&grpc_context, nullptr, nullptr);
}
}