()
| 637 | /// Empty file won't get partitioned |
| 638 | #[test] |
| 639 | fn repartition_empty_file_only() { |
| 640 | let partitioned_file_empty = pfile("empty", 0); |
| 641 | let file_group = vec![FileGroup::new(vec![partitioned_file_empty])]; |
| 642 | |
| 643 | let partitioned_files = FileGroupPartitioner::new() |
| 644 | .with_target_partitions(4) |
| 645 | .with_repartition_file_min_size(0) |
| 646 | .repartition_file_groups(&file_group); |
| 647 | |
| 648 | assert_partitioned_files(None, partitioned_files); |
| 649 | } |
| 650 | |
| 651 | /// Repartition when there is a empty file in file groups |
| 652 | #[test] |
nothing calls this directly
no test coverage detected
searching dependent graphs…