Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57208

Remove or port tests using getLastError in the gle suites

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Query Execution 2021-06-14

    Description

      We are removing support for the getLastError command. Therefore, we need to get rid of the getLastError-related test suites (e.g. gle_auth, gle_auth_basics_passthrough, sharding_gle_auth_basics_passthrough, and so on).

      These suites run tests from the jstests/gle/ directory. The task for this ticket is to determine if these tests should just be deleted, or if the coverage they provided should be modernized to use the write commands rather than legacy writes with GLE. After doing so, the gle suites should be deleted.

      This task is closely related to SERVER-57207. I've split them up because SERVER-57207 is a simple deletion of passthrough suites, whereas this requires cleaning up some actual JS test code.

      Attachments

        Activity

          People

            yoonsoo.kim@mongodb.com Yoon Soo Kim
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: