mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
test fix
This commit is contained in:
parent
64be2e0297
commit
e7a1960741
@ -1248,6 +1248,7 @@ TEST_CASE("stop", "[.cmd][.new]") {
|
|||||||
}
|
}
|
||||||
det.setExptime(-1, std::chrono::seconds(2));
|
det.setExptime(-1, std::chrono::seconds(2));
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
|
std::this_thread::sleep_for(std::chrono::milliseconds(200));
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("status", {}, -1, GET, oss);
|
proxy.Call("status", {}, -1, GET, oss);
|
||||||
@ -1283,6 +1284,7 @@ TEST_CASE("status", "[.cmd][.new]") {
|
|||||||
}
|
}
|
||||||
det.setExptime(-1, std::chrono::seconds(2));
|
det.setExptime(-1, std::chrono::seconds(2));
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
|
std::this_thread::sleep_for(std::chrono::milliseconds(200));
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("status", {}, -1, GET, oss);
|
proxy.Call("status", {}, -1, GET, oss);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user