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
4 changes: 2 additions & 2 deletions fuzz/src/file/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use vortex_array::expr::Expression;
use vortex_array::expr::arbitrary::filter_expr;
use vortex_array::expr::arbitrary::projection_expr;

use crate::FUZZ_ARRAY_MAX_LEN;
use crate::FUZZ_FILE_ARRAY_MAX_LEN;
use crate::array::CompressorStrategy;

#[derive(Debug)]
Expand All @@ -28,7 +28,7 @@ impl<'a> Arbitrary<'a> for FuzzFileAction {
u,
&ArbitraryArrayConfig {
dtype: None,
len: 0..=FUZZ_ARRAY_MAX_LEN,
len: 0..=FUZZ_FILE_ARRAY_MAX_LEN,
},
)?
.0;
Expand Down
3 changes: 2 additions & 1 deletion fuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ pub use gpu::FuzzCompressGpu;
#[cfg(feature = "cuda")]
pub use gpu::run_compress_gpu;

pub const FUZZ_ARRAY_MAX_LEN: usize = 16_384;
pub const FUZZ_ARRAY_MAX_LEN: usize = 2048;
pub const FUZZ_FILE_ARRAY_MAX_LEN: usize = 16_384;

// Runtime initialization - platform-specific
#[cfg(not(target_arch = "wasm32"))]
Expand Down
Loading