[GODRIVER-2072] Enable data race detector on all Evergreen tests Created: 07/Jul/21 Updated: 24/Jan/23 Resolved: 08/Nov/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.12.0, 1.12.0-alpha1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Dale | Assignee: | Benji Rewis (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Epic Link: | Improve Testing Suite | ||||
| Quarter: | FY23Q4 | ||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 08/Nov/22 ] |
|
Author: {'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}Message: |
| Comment by Benji Rewis (Inactive) [ 27/Oct/22 ] |
| Comment by Matt Dale [ 12/Jul/21 ] |
|
Draft PR with example test results: |