From 39680311046652d2af2bc4181fae30b1f838787e Mon Sep 17 00:00:00 2001 From: Alex Abdugafarov Date: Thu, 13 Jun 2019 18:05:03 +0500 Subject: [PATCH] jepsen.nemesis.time: stop ntp in addition to ntpd --- jepsen/src/jepsen/nemesis/time.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jepsen/src/jepsen/nemesis/time.clj b/jepsen/src/jepsen/nemesis/time.clj index dbc08986d..eba247a10 100644 --- a/jepsen/src/jepsen/nemesis/time.clj +++ b/jepsen/src/jepsen/nemesis/time.clj @@ -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)