Skip to content

Commit

Permalink
jepsen.nemesis.time: stop ntp in addition to ntpd
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenspider committed Jun 13, 2019
1 parent 7538103 commit 3968031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jepsen/src/jepsen/nemesis/time.clj
Expand Up @@ -101,6 +101,8 @@
(c/with-test-nodes test (install!))
; Try to stop ntpd service in case it is present and running.
(c/with-test-nodes test
(try (c/su (c/exec :service :ntp :stop))
(catch RuntimeException e))
(try (c/su (c/exec :service :ntpd :stop))
(catch RuntimeException e)))
(reset-time! test)
Expand Down

0 comments on commit 3968031

Please sign in to comment.