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

Update test_valid_connection_strings test to only use valid mixed environment format

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.1.6
    • None
    • None
    • None
    • 1
    • SDK26

    Description

      There is a typo in the connection string RFC examples and those valid connection strings were copied over for the parameters used in the connection_t::test_valid_connection_strings test. While looking into Python 3.11 support I noticed the test failing and tracked it down to a change in Python 3.11.4 (references below). This ticket is to log the small change in the mixed IPv6 and IPv4 connection strings to have a colon between the hex (IPv6) and decimal (IPv4) instead of a period.

      change:

      couchbases://[::ffff.192.168.0.1]:11207,[::ffff.192.168.0.2]:11207
      

      to:

      couchbases://[::ffff:192.168.0.1]:11207,[::ffff:192.168.0.2]:11207
      

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            jared.casey Jared Casey
            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