FieldGrowth growPriority="least" expands the wrong resource
Brought to you by:
xtian
The growPriority="least" algorithm does not pick the least resource. It actually picks the least submittable resource. And, since the sleep time is set to the first available resource to grow, you always get only one submittable resource which is not always the least resource. The net effect is that this strategy grows the first available resource unless there are multiple resource available to grow, and only then will it choose the least.