Fix testing error when MERCURY_TESTING_USE_THREAD_POOL is OFF
Fix testing error when MERCURY_TESTING_USE_THREAD_POOL is OFF

mercury-hpc/mercury,mercury-hpc/mercury,mercury-hpc/mercury,mercury-hpc/mercury