Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-4777

Non-Kuttl E2E tests are currently not running in gitops-operator

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Testing
    • None
    • GitOps Scarlet - Sprint 3258

      The gitops-operator E2E tests (non-kuttl) appear to not be running, even thought the OpenShift CI job for them runs.

      When you run `make test-e2e`, you get `no tests to run`:

      [jgw@localhost-lan gitops-operator]$ make test-e2e
      /home/jgw/workspace/argo-cd/gitops-operator/bin/controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
      /home/jgw/workspace/argo-cd/gitops-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
      go fmt ./...
      go vet ./...
      go test -p 1 -timeout 1h ./test/e2e -coverprofile cover.out -ginkgo.v
      ok  	github.com/redhat-developer/gitops-operator/test/e2e	0.018s	coverage: [no statements] [no tests to run]
      go test -p 1 -timeout 1h ./test/nondefaulte2e -coverprofile cover.out -ginkgo.v
      ok  	github.com/redhat-developer/gitops-operator/test/nondefaulte2e	0.016s	coverage: [no statements] [no tests to run]```
      I `git bisect`-ed the repo, and it appears they were disabled by this [PR](https://github.com/redhat-developer/gitops-operator/pull/611/files). Was this intentional?  (See the change to `test/e2e/suite_test.go`)
      

      See this Slack thread for additional details on why: https://redhat-internal.slack.com/archives/C01RQH8KQ87/p1708588482648509

      Likely related: https://issues.redhat.com/browse/GITOPS-2897

              trdoyle Triona Doyle
              jgwest Jonathan West
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: