This test makes an assertion which relies on the fact that a voting node will prefer to select another voting node as a sync source when possible. However, a node marked newlyAdded is considered non-voting, and so this test can fail if a node is still marked newlyAdded at the time we try to assert that it prefers a voting node.