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

Allow for disabling of shuffle in resmoke even if number of jobs is > 1

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      At a high level the should_shuffle field in the evergreen task definitions operate under the following logic:

      if should_shuffle = true:
        shuffle tests
      elif should_shuffle = false:
         if njobs > 1: shuffle tests
      else: // should_shuffle not specified
         if njobs > 1: shuffle tests
      

      it would help with clarity as well as for the purposes of our project to have it be the following:

      if should_shuffle = true:
         shuffle tests
      elif should_shuffle = false:
         don't shuffle
      else: // should_shuffle not specified
         if njobs > 1:
           shuffle tests
      

      every instance of should_shuffle: false in the evergreen yml task definitions also has resmoke_jobs_max: 1 and thus, this change should not impact any existing tests.

            Assignee:
            naafiyan.ahmed@mongodb.com Naafiyan Ahmed
            Reporter:
            naafiyan.ahmed@mongodb.com Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: