fixed flaky itest which casted the non deterministic
thread_pools array