Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-51559

[CBBS] Fix unit tests that are failing due to added Azure support

    XMLWordPrintable

Details

    • 1

    Description

      What needs to be done?
      After we added support for Azure in the Backup service some unit tests started failing because they are making an assumption that Azure is an example of an unsupported cloud provider. This needs to be fixed.

      Example:

      ok  	github.com/couchbase/cbbs/utilities	0.023s	coverage: 12.5% of statements
      --- FAIL: TestValidAuthType (0.00s)
          --- FAIL: TestValidAuthType/UnsupportedCloudProvider (0.00s)
              cloud_test.go:47:
                  	Error Trace:	cloud_test.go:47
                  	Error:      	Not equal:
                  	            	expected: true
                  	            	actual  : false
                  	Test:       	TestValidAuthType/UnsupportedCloudProvider
      FAIL
      

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.2.0-1026 contains cbbs commit 53cde78 with commit message:
            MB-51559 Fix unit tests that fail due to added Azure support

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1026 contains cbbs commit 53cde78 with commit message: MB-51559 Fix unit tests that fail due to added Azure support

            Build couchbase-server-7.1.1-3075 contains cbbs commit 30e13a9 with commit message:
            MB-51559 [BP] Fix unit tests that fail due to added Azure support

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.1-3075 contains cbbs commit 30e13a9 with commit message: MB-51559 [BP] Fix unit tests that fail due to added Azure support

            Build couchbase-server-7.2.0-1445 contains cbbs commit 30e13a9 with commit message:
            MB-51559 [BP] Fix unit tests that fail due to added Azure support

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1445 contains cbbs commit 30e13a9 with commit message: MB-51559 [BP] Fix unit tests that fail due to added Azure support

            Build couchbase-server-8.0.0-1034 contains cbbs commit 30e13a9 with commit message:
            MB-51559 [BP] Fix unit tests that fail due to added Azure support

            build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1034 contains cbbs commit 30e13a9 with commit message: MB-51559 [BP] Fix unit tests that fail due to added Azure support

            People

              maks.januska Maksimiljans Januska
              maks.januska Maksimiljans Januska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty