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

add buildvariant for running tests with -race

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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

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

              Created:
              Updated:
              Resolved: