Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-500

add buildvariant for running tests with -race

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      since the tools code uses goroutines and we have found some race conditions we should add a build variant that enables the race detector

      https://golang.org/doc/articles/race_detector.html

      Note that it the tools will be 2-20x slower when compiled with this flag so we should override the batchtime

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              adam.midvidy Adam Midvidy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: