From 4e5b749289ded373ba5c0a3fd4201f0d43125be3 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Thu, 30 Jun 2022 09:19:09 -0600 Subject: [PATCH] test: run check-update on dnf/yum (#11430) --- tools/package_lxd_test/container.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/package_lxd_test/container.go b/tools/package_lxd_test/container.go index bcba9ad5c5db7..536b95df9cdf4 100644 --- a/tools/package_lxd_test/container.go +++ b/tools/package_lxd_test/container.go @@ -175,7 +175,7 @@ func (c *Container) configureYum() error { return err } - return c.client.Exec(c.Name, "yum", "update") + return c.client.Exec(c.Name, "yum", "check-update") } // Create config and update dnf @@ -189,7 +189,7 @@ func (c *Container) configureDnf() error { return err } - return c.client.Exec(c.Name, "dnf", "update") + return c.client.Exec(c.Name, "dnf", "check-update") } // Create config and update zypper