MCPcopy Create free account
hub / github.com/bytedance/bolt / deleteTaskAndCheckSpillDirectory

Method deleteTaskAndCheckSpillDirectory

bolt/exec/tests/utils/OperatorTestBase.cpp:265–281  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

getFileSystemFunction · 0.85
emptyMethod · 0.45
resetMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected