mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 11:04:19 +01:00
eiger passed
This commit is contained in:
@@ -1772,6 +1772,9 @@ TEST_CASE("defaultdac", "[.cmd]") {
|
||||
REQUIRE_THROWS(proxy.Call("defaultdac", {"blabla"}, -1, PUT));
|
||||
auto daclist = det.getDacList();
|
||||
for (auto it : daclist) {
|
||||
if (it == defs::VTHRESHOLD) {
|
||||
continue;
|
||||
}
|
||||
auto dacname = sls::ToString(it);
|
||||
auto prev_val = det.getDefaultDac(it);
|
||||
{
|
||||
@@ -1916,6 +1919,9 @@ TEST_CASE("blockingtrigger", "[.cmd]") {
|
||||
proxy.Call("blockingtrigger", {}, -1, PUT, oss);
|
||||
REQUIRE(oss.str() == "blockingtrigger successful\n");
|
||||
}
|
||||
if (det.isVirtualDetectorServer().tsquash("inconsistent virtual detectors")) {
|
||||
std::this_thread::sleep_for(std::chrono::seconds(2));
|
||||
}
|
||||
auto currentfnum =
|
||||
det.getNextFrameNumber().tsquash("inconsistent frame nr in test");
|
||||
REQUIRE(nextframenumber + 1 == currentfnum);
|
||||
@@ -2310,7 +2316,7 @@ TEST_CASE("udp_firstdst", "[.cmd]") {
|
||||
det.setFirstUDPDestination(prev_val[i], {i});
|
||||
}
|
||||
} else {
|
||||
REQUIRE_THROWS(proxy.Call("udp_numdst", {}, -1, GET));
|
||||
REQUIRE_THROWS(proxy.Call("udp_firstdst", {}, -1, GET));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user