tweag / nix_bazel_codelab

Nix+Bazel Codelab
Apache License 2.0
50 stars 4 forks source link

Provide a hint for test failures when using --runs_per_test #29

Closed matthew-healy closed 2 years ago

matthew-healy commented 2 years ago

The solution uses tags = ["exclusive"] which prevents concurrent test runs, but there's no way for someone working through to know this option exists. This caused me some confusion while working through the lab. I suspected the tests were running in parallel, but it wasn't immediately obvious to me how to prevent that when calling sh_test. This commit adds a hint pointing towards the tags documentation, which explains how to control test run behaviour.