Commit 879e6cc
committed
[flink][test] make orphan segment dir old to fix empty-dir sweep assertion
BucketCleaner only sweeps empty directories whose mtime is older than the
cutoff. createOldSegmentFile was making the file old but leaving the parent
directory at 'now', so the post-order sweep skipped it. Add makeOld on the
directory to match production reality.1 parent 577c159 commit 879e6cc
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- fluss-flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/action/orphan
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
| 890 | + | |
890 | 891 | | |
891 | 892 | | |
892 | 893 | | |
| |||
0 commit comments