verifyTemporaryReshardingChunksMatchExpected uses the 'size' property name instead of 'length' to check the size of an array. This causes the equality assertions to be no-ops since "undefined == undefined" and "0 < undefined" evaluates to true and false respectively.
As it currently stands, fixing the 'size' issue causes the test to fail since the temp collection is renamed once resharding is successful. The test should either verify this using synchronization or only verify the properties of the output collection of the resharding command.
- related to
-
SERVER-49526 configsvrReshardCollection should calculate new initial split points
- Closed