From e7a1960741ffddcf7fcb6242443a3c1ae768267e Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 2 Nov 2020 18:27:10 +0100 Subject: [PATCH] test fix --- slsDetectorSoftware/tests/test-CmdProxy.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index d5b903aef..32d17f6d0 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -1248,6 +1248,7 @@ TEST_CASE("stop", "[.cmd][.new]") { } det.setExptime(-1, std::chrono::seconds(2)); det.startDetector(); + std::this_thread::sleep_for(std::chrono::milliseconds(200)); { std::ostringstream oss; proxy.Call("status", {}, -1, GET, oss); @@ -1283,6 +1284,7 @@ TEST_CASE("status", "[.cmd][.new]") { } det.setExptime(-1, std::chrono::seconds(2)); det.startDetector(); + std::this_thread::sleep_for(std::chrono::milliseconds(200)); { std::ostringstream oss; proxy.Call("status", {}, -1, GET, oss);