Skip to content

Commit

Permalink
reduce range for miri
Browse files Browse the repository at this point in the history
  • Loading branch information
taegyunkim committed May 29, 2024
1 parent 385f554 commit 9b7ee7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiling/src/internal/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ mod api_tests {

#[test]
fn fuzz_add_sample_with_fixed_sample_length() {
let sample_length_gen = 1..=64usize;
let sample_length_gen = if cfg!(miri) { 1..=8usize } else { 1..=64usize };

bolero::check!()
.with_generator(sample_length_gen)
Expand Down Expand Up @@ -894,7 +894,7 @@ mod api_tests {

#[test]
fn fuzz_api_function_calls() {
let sample_length_gen = 1..=64usize;
let sample_length_gen = if cfg!(miri) { 1..=8usize } else { 1..=64usize };

bolero::check!()
.with_generator(sample_length_gen)
Expand Down

0 comments on commit 9b7ee7b

Please sign in to comment.