From 03af145ee8d5b3c86a92bb306cd8f05853edad4a Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 31 Mar 2020 13:38:11 +0200 Subject: [PATCH] test delay fix --- slsDetectorSoftware/tests/test-CmdProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index 967d7d8da..d54250be1 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -300,7 +300,7 @@ TEST_CASE("delay", "[.cmd][.new]") { if (det_type == defs::EIGER) { REQUIRE_THROWS(proxy.Call("delay", {"1"}, -1, PUT)); REQUIRE_THROWS(proxy.Call("delay", {}, -1, GET)); - } if (det_type == defs::GOTTHARD) { + } else if (det_type == defs::GOTTHARD) { // extra delays for master (can throw when setting) REQUIRE_NOTHROW(proxy.Call("delay", {}, -1, GET)); } else {