Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2006

Remove srvMaxHosts tests expecting an error for invalid values

    XMLWordPrintableJSON

Details

    • Needed
    • Hide

      Drivers should sync initial-dns-seedlist-discovery spec tests with mongodb/specifications@8a88d16. Several tests originally introduced in DRIVERS-1519 have been removed.

      Show
      Drivers should sync initial-dns-seedlist-discovery spec tests with mongodb/specifications@8a88d16 . Several tests originally introduced in DRIVERS-1519 have been removed.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4239 Backlog
      CXX-2421 Backlog
      CSHARP-3992 Backlog
      GODRIVER-2253 Fixed 1.12.1
      JAVA-4425 Fixed 4.5.0
      NODE-3812 Fixed 4.9.0
      PHPC-2016 Won't Do
      PYTHON-3040 Fixed 4.1
      MOTOR-864 Duplicate
      RUBY-2851 Fixed 2.18.0
      RUST-1126 Duplicate
      SWIFT-1433 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4239 Backlog CXX-2421 Backlog CSHARP-3992 Backlog GODRIVER-2253 Fixed 1.12.1 JAVA-4425 Fixed 4.5.0 NODE-3812 Fixed 4.9.0 PHPC-2016 Won't Do PYTHON-3040 Fixed 4.1 MOTOR-864 Duplicate RUBY-2851 Fixed 2.18.0 RUST-1126 Duplicate SWIFT-1433 Duplicate

    Description

      Summary

      mongodb/specifications@b508f6d introduced initial-dns-seedlist-discovery spec tests that expect an error when specifying an invalid type or integer value for srvMaxHosts. This contradicts the Connection String spec, which states that a warning should be logged and the parsed value ignored.

      That same commit also introduced uri-options tests for the same cases, which correctly expect a warning. Unlike uri-options, the initial-dns-seedlist-discovery spec test format has no syntax for asserting warnings (only errors), so we should just remove the incorrect (and redundant) tests.

      Motivation

      Who is the affected end user?

      Drivers.

      Is this issue urgent?

      It should be done close to DRIVERS-1519 so drivers can remove any work-arounds they might have added to get the incorrect initial-dns-seedlist-discovery tests passing (unless they were being skipped).

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Attachments

        Activity

          People

            jmikola@mongodb.com Jeremy Mikola
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: