mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
test: Drop PackageKit service override which was never applied
From our logs: Warning: The unit file, source configuration file or drop-ins of packagekit.service changed on disk. Run 'systemctl daemon-reload' to reload units.
This commit is contained in:
parent
6540c52962
commit
a177b46792
1 changed files with 0 additions and 2 deletions
|
|
@ -53,8 +53,6 @@ class PackageCase(MachineCase):
|
|||
self.machine.execute("nmcli con add type dummy con-name fake ifname fake0 ip4 1.2.3.4/24 gw4 1.2.3.1")
|
||||
self.addCleanup(self.machine.execute, "nmcli con delete fake")
|
||||
|
||||
# HACK: packagekit often hangs on shutdown; https://bugzilla.redhat.com/show_bug.cgi?id=1717185
|
||||
self.write_file("/etc/systemd/system/packagekit.service.d/timeout.conf", "[Service]\nTimeoutStopSec=5\n")
|
||||
self.addCleanup(self.machine.execute, "systemctl stop packagekit; systemctl reset-failed packagekit || true")
|
||||
|
||||
# disable all existing repositories to avoid hitting the network
|
||||
|
|
|
|||
Loading…
Reference in a new issue