Issue #26309: Rewrite test in main thread and avoid race condition
1 file changed