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

Add e2e testing against Atlas to the search index management API

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: None
    • None
    • Needed
    • Hide

      Drivers should implement the 5 prose tests outline in this commit: https://github.com/mongodb/specifications/commit/267a54d1bb9af894d05d3dd1a6bda0fa53e20a3f

      The search index helpers are defined in DRIVERS-2637.

      Note for clarification: the helpers and the e2e testing were done separately because the helpers were needed for 7.0 in Node and mongosh, but there was no ability to e2e test the helpers at the time. 

      If drivers haven't already completed DRIVERS-2637, it makes sense to complete DRIVERS-2637 and this work together.

      Show
      Drivers should implement the 5 prose tests outline in this commit: https://github.com/mongodb/specifications/commit/267a54d1bb9af894d05d3dd1a6bda0fa53e20a3f The search index helpers are defined in DRIVERS-2637 . – Note for clarification: the helpers and the e2e testing were done separately because the helpers were needed for 7.0 in Node and mongosh, but there was no ability to e2e test the helpers at the time.  If drivers haven't already completed DRIVERS-2637 , it makes sense to complete DRIVERS-2637 and this work together.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4667 Won't Do
      CXX-2700 Fixed 3.9.0
      CSHARP-4685 Done 2.23.0
      GODRIVER-2875 Fixed 1.13.0, 1.13.1
      JAVA-5037 Fixed 4.11.0
      NODE-5370 Done 6.0.0
      MOTOR-1145 Duplicate
      PYTHON-3761 Fixed 4.5
      PHPLIB-1168 Done
      RUBY-3281 Fixed 2.19.1
      RUST-1684 Fixed 2.8.0
      $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-4667 Won't Do CXX-2700 Fixed 3.9.0 CSHARP-4685 Done 2.23.0 GODRIVER-2875 Fixed 1.13.0, 1.13.1 JAVA-5037 Fixed 4.11.0 NODE-5370 Done 6.0.0 MOTOR-1145 Duplicate PYTHON-3761 Fixed 4.5 PHPLIB-1168 Done RUBY-3281 Fixed 2.19.1 RUST-1684 Fixed 2.8.0

      Summary

      DRIVERS-2549 added a new search index management API to the index-management spec.  At the time it was implemented, e2e testing against Atlas clusters was not possible.

      The work defined in this ticket will add infrastructure to test against Atlas clusters and enhance the search index management tests to test against an Atlas cluster.

      Motivation

      Who is the affected end user?

      Drivers engineers.

      How does this affect the end user?

      It does not.

      How likely is it that this problem or use case will occur?

      n/a

      If the problem does occur, what are the consequences and how severe are they?

      n/a

      Is this issue urgent?

      It is currently blocked.  It should be done quickly after CLOUDP-122441 is completed.

      Is this ticket required by a downstream team?

      no.

      Is this ticket only for tests?

      Yes, this ticket is only for tests.

      Acceptance Criteria

      • set up any tooling necessary to run unified tests against an Atlas cluster
      • adjust the existing unified tests to assert on the success of the search index management commands

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Durran Jordan Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: