Fixed in trunk. The sort that needed changing was the second one - the first sort sorts the tests to be in descending duration (so large chunks of time are allocated first), the second one in the inner loop selects the next partition to allocate to.
Fixed in trunk. The sort that needed changing was the second one - the first sort sorts the tests to be in descending duration (so large chunks of time are allocated first), the second one in the inner loop selects the next partition to allocate to.