summaryrefslogtreecommitdiffstats
path: root/doc/zmq-ctrl/cpp/test/ctrl_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zmq-ctrl/cpp/test/ctrl_test.cpp')
-rw-r--r--doc/zmq-ctrl/cpp/test/ctrl_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/zmq-ctrl/cpp/test/ctrl_test.cpp b/doc/zmq-ctrl/cpp/test/ctrl_test.cpp
index 21811d6..fdfd35a 100644
--- a/doc/zmq-ctrl/cpp/test/ctrl_test.cpp
+++ b/doc/zmq-ctrl/cpp/test/ctrl_test.cpp
@@ -80,8 +80,9 @@ BOOST_AUTO_TEST_CASE (Muting)
BOOST_AUTO_TEST_CASE (StaticDelay)
{
- // reset first or else test will fail on successive runs
- BOOST_CHECK(modCtrl.SetStaticDelay(-1, error) == true);
+ // reset first (by setting out of range value) or else test
+ // will fail on successive runs
+ BOOST_CHECK(modCtrl.SetStaticDelay(100000, error) == true);
BOOST_CHECK(modCtrl.SetStaticDelay(45000, error) == true);
uint32_t value;
BOOST_CHECK(modCtrl.GetStaticDelay(value, error) == true);