From: Miroslav Lichvar Date: Wed, 12 May 2021 11:03:45 +0000 (+0200) Subject: test: make 007-cmdmon test more reliable X-Git-Tag: 4.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4049ed8766af811bd5bdd806c775517ad79df278;p=thirdparty%2Fchrony.git 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. --- diff --git a/test/system/007-cmdmon b/test/system/007-cmdmon index abacb7a5..fe2b0067 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" \