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

add buildvariant for running tests with -race

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: