Skip to content

Commit

Permalink
test: Drop obsolete ntp stop quirk in check-system-info
Browse files Browse the repository at this point in the history
We don't install ntpd into our test images, and if ntp.service does not
exist the TestSystemInfo.testTime test fails with

  CalledProcessError: Command 'systemctl stop ntp' returned non-zero exit status 5

Closes #5726
Reviewed-by: Stef Walter <stefw@redhat.com>
  • Loading branch information
martinpitt authored and stefwalter committed Jan 18, 2017
1 parent 25aa15c commit 6fe9c93
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/verify/check-system-info
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ class TestSystemInfo(MachineCase):
if m.image in {"debian-8", "rhel-7", "centos-7", "rhel-atomic", "continuous-atomic"}:
network_time_prefix = "NTP enabled"

if m.image in [ "debian-unstable" ]:
m.execute("systemctl stop ntp")

# make sure system is on expected timezone EEST
m.execute("LC_ALL=C timedatectl set-timezone Europe/Helsinki")

Expand Down

0 comments on commit 6fe9c93

Please sign in to comment.