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

            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