You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/e2e/README.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,4 +54,14 @@ make file and use `-dryRun` with `-focus` and see if the regex would trigger you
54
54
55
55
## Build infrastructure
56
56
57
-
Note that the make file target `e2e-local` is executed by the github workflow `.github/workflows/e2e-tests.yml` and uses two parallel `go test` processes.
57
+
Note that the make file target `e2e-local` is executed by the github workflow `.github/workflows/e2e-tests.yml` and uses two parallel `go test` processes.
58
+
59
+
## Running on minikube
60
+
61
+
The e2e suite is also runnable on a minikube cluster. First spin up the minikube cluster manually with the desired provisioner,
62
+
then run `make run-local` to deploy OLM onto the cluster. Tests can be run by invoking ginkgo and passing the required command line
63
+
arguments to the test suite. For example to run a specific test:
64
+
65
+
```bash
66
+
GO111MODULE=on GOFLAGS="-mod=vendor" go run github.com/onsi/ginkgo/ginkgo -focus "static provider" -v --progress ./test/e2e -- -namespace=operators -olmNamespace=olm -dummyImage=bitnami/nginx:latest
Copy file name to clipboardExpand all lines: test/e2e/catalog_e2e_test.go
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@ import (
6
6
"context"
7
7
"fmt"
8
8
"net"
9
-
"os"
10
9
"strconv"
11
10
"strings"
12
11
"time"
@@ -641,8 +640,10 @@ var _ = Describe("Catalog represents a store of bundles which OLM can use to ins
641
640
})
642
641
643
642
It("image update", func() {
644
-
ifos.Getenv("GITHUB_ACTIONS") =="true" {
645
-
Skip("This spec fails when run using KIND cluster. See https://github.com/operator-framework/operator-lifecycle-manager/issues/1380 for more details")
643
+
ifok, err:=inKind(c); ok&&err==nil {
644
+
Skip("This spec fails when run using KIND cluster. See https://github.com/operator-framework/operator-lifecycle-manager/issues/2420 for more details")
645
+
} elseiferr!=nil {
646
+
Skip("Could not determine whether running in a kind cluster. Skipping.")
646
647
}
647
648
// Create an image based catalog source from public Quay image
0 commit comments