static*/
| 263 | // Nothing to do if there is no spilling directory was set. |
| 264 | if (spillDirectoryStr.empty()) { |
| 265 | return; |
| 266 | } |
| 267 | |
| 268 | // Wait for the task to go. |
| 269 | task.reset(); |
| 270 | waitForAllTasksToBeDeleted(); |
| 271 | |
| 272 | // If a spilling directory was set, ensure it was removed after the task is |
| 273 | // gone. |
| 274 | auto fs = filesystems::getFileSystem(spillDirectoryStr, nullptr); |
| 275 | EXPECT_FALSE(fs->exists(spillDirectoryStr)); |
| 276 | } |
| 277 | |
| 278 | } // namespace bytedance::bolt::exec::test |
nothing calls this directly
no test coverage detected