Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/upgrade/unpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var _ = Describe("ClusterCatalog Unpacking", func() {
ctx := context.Background()

var managerDeployment appsv1.Deployment
managerLabelSelector := labels.Set{"control-plane": "catalogdv1-controller-manager"}
managerLabelSelector := labels.Set{"control-plane": "catalogd-controller-manager"}
By("Checking that the controller-manager deployment is updated")
Eventually(func(g Gomega) {
var managerDeployments appsv1.DeploymentList
Expand Down Expand Up @@ -66,13 +66,13 @@ var _ = Describe("ClusterCatalog Unpacking", func() {
Expect(found).To(BeTrue())

catalog := &catalogdv1.ClusterCatalog{}
By("Ensuring ClusterCatalog has Status.Condition of Progressing with a status == False, reason == Succeeded")
By("Ensuring ClusterCatalog has Status.Condition of Progressing with a status == True, reason == Succeeded")
Eventually(func(g Gomega) {
err := c.Get(ctx, types.NamespacedName{Name: testClusterCatalogName}, catalog)
g.Expect(err).ToNot(HaveOccurred())
cond := meta.FindStatusCondition(catalog.Status.Conditions, catalogdv1.TypeProgressing)
g.Expect(cond).ToNot(BeNil())
g.Expect(cond.Status).To(Equal(metav1.ConditionFalse))
g.Expect(cond.Status).To(Equal(metav1.ConditionTrue))
g.Expect(cond.Reason).To(Equal(catalogdv1.ReasonSucceeded))
}).Should(Succeed())

Expand Down