Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-585

Eventing and Analytics Cannot Be Tested Against a Real Cluster

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • testing
    • None

    Description

      Anywhere you use GetNodeIpForPod will only ever work if your test is run in the same network as the cluster, you need to use a port forward in order to run against minikube, minishift and all cloud environments, which we will need to do imminently

      I raise this as important as it affects basic sanity testing for us!

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Commit 684ca2fcbe5f5282464a510c74471c3a90a2ad36 has a fix for this.

          Verified using my minikube cluster:

          test_util.go:34: Suite Test Results:
          test_util.go:39: 1: TestEventingCreateEventingCluster...PASS
          test_util.go:39: 2: TestAnalyticsCreateDataSet...PASS
          test_util.go:58:
              Pass: 2.000000
              Fail: 0.000000
              Pass Rate: 100.000000

          ashwin.govindarajulu Ashwin Govindarajulu added a comment - Commit 684ca2fcbe5f5282464a510c74471c3a90a2ad36 has a fix for this. Verified using my minikube cluster: test_util.go:34: Suite Test Results: test_util.go:39: 1: TestEventingCreateEventingCluster...PASS test_util.go:39: 2: TestAnalyticsCreateDataSet...PASS test_util.go:58: Pass: 2.000000 Fail: 0.000000 Pass Rate: 100.000000

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            simon.murray Simon Murray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty