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

Create a DBCheckTest library for jstest

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication

      Currently, we have a lot of helper functions in dbcheck_utils.js that can take numerous input parameters. Every time we need to add a new parameter to the function signature, we need to update all the callers, which is time consuming and error prone in Javascript. We should investigate if we can create a DBCheckTest library that takes all the necessary options through constructor and clean the individual helper functions.

      This also involves updating all existing dbcheck jstests, so this could be a huge ticket and we may not want to do in SPM-855

            Assignee:
            Unassigned Unassigned
            Reporter:
            jiawei.yang@mongodb.com Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: