Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: Ignore byte fields in TestStatusSummaries
TestStatusSummaries occasionally fails because of the asynchronous updating of the "node liveness" table on the TestServer; occasionally, this update would interleave with status summary generation in a way that threw off the expectations of the test. This is the second time this situation has happened; previously, this test became flaky due to interleaving with the asynchronous recording of the "NodeJoin" event by the TestServer. Because this has occurred multiple times, instead of attempting to disable the Liveness heartbeat we will instead simply relax the expectations of the test; it will no longer verify any "bytes" fields on the status summary, checking only counts fields. The small value of the verification of "Bytes" fields does not make up for the numerous headaches this test has caused by occasionally failing incorrectly. Fixes cockroachdb#9972
- Loading branch information