Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2072

Enable data race detector on all Evergreen tests

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.12.0, 1.12.0-alpha1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Currently we do not enable the data race detector in most of our tests that run in Evergreen. Enable the data race detector on all tests run in Evergreen to expose any data race errors during tests.

      Add the -race flag to all go test commands in the Makefile.

      Note that running the data race detector makes the tests run slower (seems to double run time), so we may want to enable it for only certain Evergreen runs.

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: