When building a release, we currently run the tasks Build, Test, Docs, and Package. The Test task only runs the test suite against a single MongoDB version and topology (likely standalone) on Windows. This local run of the test suite is much less comprehensive than all the variants run on Evergreen. We should only be releasing if Evergreen is suitably green. Sometimes we have flaky tests that cause a local test run to fail even though Evergreen is green. This can slow down the release process as we must re-run the Release task until those flaky tests pass locally.
We have decided to remove the Test task from the Release process (line 54 of build.cake). The release process already highlights the following:
Ensure that the most recent commit is green in Evergreen
This will move us closer to our goal of releasing on Evergreen (CSHARP-3200).