Tests: replacement test for missing elements in the diff-serialized cluster state #11257
Labels
discuss
:Distributed/Distributed
A catch all label for anything in the Distributed Area. If you aren't sure, use this one.
The commit fd1954d invalidated the assumption that if two cluster states are equal they must have the same binary serialized length. As a result our smoke test for cluster state diffs started to fail periodically and was removed by the commit 42ad677. Therefore now we don't really have a test for a partially implemented elements in cluster state. In other words if a cluster state element is added to writeTo() but we forget to add it to equalTo and we don't json serialize it, we might miss this fact in this test. We need to come up with a better way to catch situations like this.
The text was updated successfully, but these errors were encountered: