Skip to content

Commit 6d25087

Browse files
HuijingHeilucab
authored andcommitted
tests: add --cache-only option for rpm-ostree install
in scos testing as workaround See: - https://bugzilla.redhat.com/show_bug.cgi?id=2113042 - coreos/rpm-ostree#3241
1 parent fea3a3c commit 6d25087

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mantle/kola/tests/rpmostree/deployments.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ func rpmOstreeInstallUninstall(c cluster.TestCluster) {
214214

215215
c.Run("install", func(c cluster.TestCluster) {
216216
// install package and reboot
217-
c.RunCmdSync(m, "sudo rpm-ostree install "+ahtRpmPath)
217+
// add workaround for scos
218+
// https://bugzilla.redhat.com/show_bug.cgi?id=2113042
219+
c.RunCmdSync(m, "sudo rpm-ostree install --cache-only "+ahtRpmPath)
218220

219221
installRebootErr := m.Reboot()
220222
if installRebootErr != nil {

0 commit comments

Comments
 (0)