Skip to content

Commit 35ff15e

Browse files
committed
feat: remove temp files in test
1 parent 3b3371b commit 35ff15e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_update.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ def run_with_files(
215215
ps.unregister_checkpoint(checkpoint_name)
216216
queue.put(None)
217217
proc.join()
218+
if rank == 0:
219+
import shutil
220+
os.removedirs(dev_shm_dir)
221+
shutil.rmtree(disk_dir)
218222
assert proc.exitcode == 0
219223

220224

0 commit comments

Comments
 (0)