Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-832

Test issues with cluster and opening new buckets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.0
    • 3.0.0-beta.3
    • tests
    • None
    • 1
    • SDK13: Coll/Txn/Docs More Chip, SDK15: Ruby/Coll/Docs

    Description

      When you are in a ClusterTestCase (or one derived from that), the self.cluster works fine, except if you try to open another bucket. If you do, cluster.bucket("bucket_name") always raises an AuthenticationException.

      Perhaps there are a few things going on here - with regards to v2 style bucket auth and so on. However for the purposes of this ticket, maybe we can just get this to work within the tests? Perhaps all that is necessary is converting to a different Authenticator (maybe PasswordAuthenticator)? I recall trying that, running into other issues, and moving on as I had other things to do. But this is worth fixing - PYCBC-831 for instance would be great to actually test by opening up a few buckets – also diagnostics would benefit from this extra testing, etc...

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            david.kelly David Kelly (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