Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CI is failing because a Go test is broken in Bazel. What do I do?

See full article here!

First, make sure you follow all of the above advice. If building the test binaries succeeds but running the test fails, and that same test failure doesn’t show up in the non-Bazel CI jobs, you’ve probably identified a case where Bazel’s test sandboxing has caused a breakage. There’s no one-size-fits-all solution to this; fixes will vary wildly depending on what the problem is and how it manifests. Generally, we recommend you ask for help (see below).

...