Closed spershin closed 2 days ago
Thanks for the fix. Does it make sense to just extend the test from velox's OperatorTestBase and reuse the rich utilities there?
@tanjialiang This test fixes the use of TaskManager's cleanOldTasks(). TaskManager is not in Velox, so we cannot use rich utilities from Velox.
Description
There is a race in the test itself, which we fix here:
Fixes https://github.com/prestodb/presto/issues/23062
Test Plan
Stress testing.
buck2 test @mode/opt github/presto-trunk/presto-native-execution/presto_cpp/main/tests:presto_main_test -- TaskManagerTest.buildSpillDirectoryFailure --stress-runs 100