| commit | b30b9335ab185837e03527b4bf9c3c40b41db767 | [log] [tgz] |
|---|---|---|
| author | jmmv <jmmv@google.com> | Thu Dec 21 10:30:44 2017 -0800 |
| committer | Copybara-Service <copybara-piper@google.com> | Thu Dec 21 10:34:29 2017 -0800 |
| tree | 664686c7c66b191dfeec2b87de8679e9cdec775a | |
| parent | da4200141a5fa04a9e83e39fa1f01c444f228dfc [diff] |
Improve testing for miss details on action cache stats. The previous tests (internal-only, sorry) were checking for the total number of misses before testing for the actual breakdown by reason. This was confusing because the total number was quite mysterious and because a test failure would point at the total instead of the breakdown, making the test problems harder to understand. To resolve this: check for the miss reasons first, which will give a better indication of what's wrong with the test, and then check for the total using a number that is derived from the breakdown, which avoids a magical number in the test. RELNOTES: None. PiperOrigin-RevId: 179830122
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.