Skip to content

Commit ad13468

Browse files
committed
clean old files
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
1 parent 3e7432a commit ad13468

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

python/python/tests/weekly/test_weekly.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import abc
88
import itertools
9+
from datetime import timedelta
910
from typing import Optional
1011

1112
import lance
@@ -221,6 +222,7 @@ def test_all_permutations(with_position):
221222
write_operation = write_operations[idx]
222223
print(f"Running {write_operation.__class__.__name__}")
223224
write_operation.run(ds)
225+
ds.cleanup_old_versions(older_than=timedelta(seconds=0))
224226

225227
# write operation changed the status of the table,
226228
# then we need to run all read only operations after it

0 commit comments

Comments
 (0)