Make task_cost_check test resilient to changes in order
#204045
Merged
task_cost_check test resilient to changes in order
#204045