Skip to content
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
4 changes: 3 additions & 1 deletion openshift/tests-extension/test/olmv1-catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"k8s.io/apimachinery/pkg/api/meta"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/rand"
"sigs.k8s.io/controller-runtime/pkg/client"

olmv1 "github.com/operator-framework/operator-controller/api/v1"
Expand Down Expand Up @@ -202,7 +203,8 @@ var _ = Describe("[sig-olmv1][OCPFeatureGate:NewOLM][Skipped:Disconnected] OLMv1
helpers.RequireOLMv1CapabilityOnOpenshift()
})
It("should fail to install if it has an invalid reference", func(ctx SpecContext) {
catName := "bad-catalog"
unique := rand.String(4)
catName := "bad-catalog-" + unique
imageRef := "example.com/does-not-exist:latest"

By("creating the malformed catalog with an invalid image ref")
Expand Down