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

[BP] Fix TestValidateTLSClientCertificatePathRequired and TestValidateBackupRestoreMissingBackupField for openshift

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.2
    • 2.0.1
    • testing
    • None

    Description

      === RUN TestOperator/TestNegValidationCreate/TestValidateTLSClientCertificatePathRequired
      — FAIL: TestOperator/TestNegValidationCreate/TestValidateTLSClientCertificatePathRequired (4.09s)
      util.go:1304: expected message: spec.networking.tls.clientCertificatePaths.path in body is required
      returned message: CouchbaseCluster.couchbase.com "cluster" is invalid: spec.networking.tls.clientCertificatePaths.path: Required value

      util.go:1305: goroutine 2721 [running]:
      runtime/debug.Stack(0xc000ae2000, 0xc000bb5c18, 0x1)
      /usr/local/go/src/runtime/debug/stack.go:24 +0x9d
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc000ae2000, 0x2577d80, 0xc000702a60)
      /Users/arunkumarsenthilnathan/go/src/github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:1305 +0x77
      github.com/couchbase/couchbase-operator/test/e2e.runValidationTest.func2(0xc000ae2000)
      /Users/arunkumarsenthilnathan/go/src/github.com/couchbase/couchbase-operator/test/e2e/validation_test.go:415 +0x4c9
      testing.tRunner(0xc000ae2000, 0xc0006ed800)
      /usr/local/go/src/testing/testing.go:909 +0xc9
      created by testing.(*T).Run
      /usr/local/go/src/testing/testing.go:960 +0x350

      === RUN TestOperator/TestNegValidationCreate/TestValidateBackupRestoreMissingBackupField
      — FAIL: TestOperator/TestNegValidationCreate/TestValidateBackupRestoreMissingBackupField (4.53s)
      util.go:1304: expected message: spec.backup in body is required
      returned message: CouchbaseBackupRestore.couchbase.com "restore0" is invalid: spec.backup: Required value

      util.go:1305: goroutine 5806 [running]:
      runtime/debug.Stack(0xc000b54300, 0xc000dc5c18, 0x1)
      /usr/local/go/src/runtime/debug/stack.go:24 +0x9d
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc000b54300, 0x2577d80, 0xc0005c84f0)
      /Users/arunkumarsenthilnathan/go/src/github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:1305 +0x77
      github.com/couchbase/couchbase-operator/test/e2e.runValidationTest.func2(0xc000b54300)
      /Users/arunkumarsenthilnathan/go/src/github.com/couchbase/couchbase-operator/test/e2e/validation_test.go:415 +0x4c9
      testing.tRunner(0xc000b54300, 0xc00032fb30)
      /usr/local/go/src/testing/testing.go:909 +0xc9
      created by testing.(*T).Run
      /usr/local/go/src/testing/testing.go:960 +0x350

      Attachments

        Issue Links

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

          Activity

            People

              prateek.kumar Prateek Kumar (Inactive)
              arunkumar Arunkumar Senthilnathan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty