Skip to content

Commit

Permalink
ci: remove workaround for issue #519
Browse files Browse the repository at this point in the history
OS channel is now synced when operator is updated.

Signed-off-by: Loic Devulder <ldevulder@suse.com>
  • Loading branch information
ldevulder committed Oct 5, 2023
1 parent 9caac68 commit 8e768fe
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/e2e/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ var _ = Describe("E2E - Upgrading Elemental Operator", Label("upgrade-operator")
// Wait for all pods to be started
err = rancher.CheckPod(k, [][]string{{"cattle-elemental-system", "app=elemental-operator"}})
Expect(err).To(Not(HaveOccurred()))

// Workaround: force re-sync of ManagedOSVersionChannels
// NOTE: this should be done directly when upgrading the operator,
// see https://github.com/rancher/elemental-operator/issues/519
_, err = kubectl.Run("patch", "ManagedOSVersionChannel",
"--namespace", clusterNS, "elemental-teal-channel",
"--type", "merge", "--patch", "{\"spec\":{\"syncInterval\":\"1m\"}}",
)
Expect(err).To(Not(HaveOccurred()))
})
})

Expand Down

0 comments on commit 8e768fe

Please sign in to comment.