-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test updates (Enable race detection and disable output interceptor) (#…
…956) * tests: Disable all output capture in ginkgo tests This creates a lot of extra output during the test runs which is really distracting, and makes the output virtually useless. Apart from that is can cause the entire test run to freeze under certain situations (which has happened a few times lately) due to the issue described here. https://github.com/onsi/ginkgo/blob/104752fa2e97f04b1300754e710c419a63d2d30c/internal/output_interceptor.go#L13 * tests: Add --race option to ginkgo run This will cause the test suite to fail if any race condition is detected during the execution of the tests. Note: When the tests are run in parallel this does not output a descriptive message for the failure. If it fails for seemingly random reasons you should try running the test suite without parallel processes enabled. * dev: Add `--race` option to `make run` task Enables the race detector on locally running instances https://go.dev/doc/articles/race_detector. This will report useful information in the logs about race related issues. * fix: Authorino race condition --------- Signed-off-by: Michael Nairn <[email protected]>
- Loading branch information
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters