From 4049ed8766af811bd5bdd806c775517ad79df278 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 12 May 2021 13:03:45 +0200 Subject: [PATCH] test: make 007-cmdmon test more reliable Reorder the local off command with respect to offline and online to prevent the client from getting an unsynchronized response. --- test/system/007-cmdmon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/system/007-cmdmon b/test/system/007-cmdmon index abacb7a..fe2b006 100755 --- a/test/system/007-cmdmon +++ b/test/system/007-cmdmon @@ -23,8 +23,11 @@ for command in \ "dfreq 1.0e-3" \ "doffset -0.1" \ "dump" \ + "offline" \ "local off" \ "local" \ + "online" \ + "onoffline" \ "maxdelay $server 1e-1" \ "maxdelaydevratio $server 5.0" \ "maxdelayratio $server 3.0" \ @@ -32,9 +35,6 @@ for command in \ "maxupdateskew $server 10.0" \ "minpoll $server 10" \ "minstratum $server 1" \ - "offline" \ - "online" \ - "onoffline" \ "polltarget $server 10" \ "refresh" \ "rekey" \