Skip to content

Commit

Permalink
Fix expectation on namespace annotations
Browse files Browse the repository at this point in the history
This reflects a recent change in `rancher/fleet-test-data` where we use
distinct values for labels vs annotations.
  • Loading branch information
weyfonk authored and manno committed Nov 15, 2024
1 parent 1cc2d76 commit 5421d74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/single-cluster/targetCustomization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ var _ = Describe("Helm deploy options", func() {
return "nil"
}

bundleDeploymentNamespacesLabels, _ := clusterK.Get(
bundleDeploymentNamespacesAnnotations, _ := clusterK.Get(
"bundledeployments",
bundleDeploymentName,
"-o",
"jsonpath={.spec.options.namespaceAnnotations}",
)
return bundleDeploymentNamespacesLabels
}).Should(Equal(`{"foo":"bar","this.is/a":"test"}`))
return bundleDeploymentNamespacesAnnotations
}).Should(Equal(`{"foo":"bar","this.is/another":"test"}`))

})
})
Expand Down

0 comments on commit 5421d74

Please sign in to comment.