Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
115241: server: deflake TestHealthCheck r=herkolategan a=stevendanna This test manually updates metrics and then makes assertions about what health alerts are returned. If the test server is slow to start up, then it is possible that the node's own metric update kicks in (after 10s) and interferes with these assertions. Here we deflake the test by (1) ensuring the replica count on system zone configuration only requires 1 replica so that there are no underreplicated ranges and (2) retrying our update and assertion in case a stats update resets it to 0 at the wrong time. Fixes #115077 Release note: None Co-authored-by: Steven Danna <[email protected]>
- Loading branch information