Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion arrow-buffer/src/buffer/boolean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,12 @@ mod tests {
let input_buffer_left = BooleanBuffer::from(&input_bools_left[..]);
let input_buffer_right = BooleanBuffer::from(&input_bools_right[..]);

for left_offset in 0..200 {
#[cfg(miri)] // Takes too long otherwise
let left_offsets = [0, 1, 7, 8, 63, 64, 65];
#[cfg(not(miri))]
let left_offsets = 0..200;

for left_offset in left_offsets {
for right_offset in [0, 4, 5, 17, 33, 24, 45, 64, 65, 100, 200] {
for len_offset in [0, 1, 44, 100, 256, 300, 512] {
let len = 1024 - len_offset - left_offset.max(right_offset); // ensure we don't go out of bounds
Expand Down
2 changes: 2 additions & 0 deletions arrow-ord/src/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4892,6 +4892,7 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)] // Takes too long
fn fuzz_partition_validity() {
let mut rng = StdRng::seed_from_u64(0xF00D_CAFE);
for _ in 0..1_000 {
Expand Down Expand Up @@ -5100,6 +5101,7 @@ mod tests {

// Fuzz testing: generate random UTF-8 strings and verify sort correctness
#[test]
#[cfg_attr(miri, ignore)] // Takes too long
fn test_fuzz_random_strings() {
let mut rng = StdRng::seed_from_u64(42); // Fixed seed for reproducibility

Expand Down
Loading