mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-07 13:20:02 +02:00
fix ctb test, non blocking will not return for 1g (#684)
* fix ctb test, non blocking will not return for 1g
This commit is contained in:
parent
adcde9fd49
commit
da291d535e
@ -1314,7 +1314,7 @@ void DetectorImpl::processData(bool receiver) {
|
|||||||
}
|
}
|
||||||
// only update progress
|
// only update progress
|
||||||
else {
|
else {
|
||||||
LOG(logINFO) << "Type 'q' and hit enter to stop";
|
LOG(logINFO) << "Type 'q' and hit enter to stop acquisition";
|
||||||
double progress = 0;
|
double progress = 0;
|
||||||
printProgress(progress);
|
printProgress(progress);
|
||||||
|
|
||||||
|
@ -145,7 +145,8 @@ TEST_CASE("rx_missingpackets", "[.cmd][.rx]") {
|
|||||||
REQUIRE(oss.str() != "rx_missingpackets [0, 0]\n");
|
REQUIRE(oss.str() != "rx_missingpackets [0, 0]\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
auto det_type = det.getDetectorType().squash();
|
||||||
|
if (det_type != defs::CHIPTESTBOARD && det_type != defs::MOENCH) {
|
||||||
// 0 missing packets (takes into account that acquisition is stopped)
|
// 0 missing packets (takes into account that acquisition is stopped)
|
||||||
det.startReceiver();
|
det.startReceiver();
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user