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

Remove concurrency assert helpers from jstests

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-10-16

    Description

      The assert helpers in https://github.com/mongodb/mongo/blob/master/jstests/concurrency/fsm_libs/assert.js don't really do anything different than assert. We tried to use them originally when we introduced the concurrency testing infrastructure but we never ended up fully implementing it and making it work.

      As of today, we are still adding more and more instances of these asserts and engineers don't really understand what exactly they are doing. We should just remove them.

      Attachments

        Activity

          People

            yuhong.zhang@mongodb.com Yuhong Zhang
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: