Skip to content

Commit

Permalink
Merge branch 'main' into r1viollet/blaze-v0.2.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsn committed Jun 20, 2024
2 parents 7f703ee + 83ce099 commit e88850e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/all-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Required checks pass
on:
pull_request:
push:
branches:
- main
jobs:
allchecks:
runs-on: ubuntu-latest
permissions:
checks: read
contents: read
steps:
- uses: wechuli/allcheckspassed@v1
with:
delay: '3'
retries: '30'
polling_interval: '1'
10 changes: 1 addition & 9 deletions profiling/src/internal/profile/fuzz_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,17 +444,9 @@ fn fuzz_failure_001() {

/// Fuzzes adding a bunch of samples to the profile.
#[test]
#[cfg_attr(miri, ignore)]
fn test_fuzz_add_sample() {
#[cfg(miri)]
let sample_types_gen = Vec::<owned_types::ValueType>::gen().with().len(0..=8usize);
#[cfg(not(miri))]
let sample_types_gen = Vec::<owned_types::ValueType>::gen();

#[cfg(miri)]
let samples_gen = Vec::<(Option<Timestamp>, Sample)>::gen()
.with()
.len(0..=8usize);
#[cfg(not(miri))]
let samples_gen = Vec::<(Option<Timestamp>, Sample)>::gen();

bolero::check!()
Expand Down

0 comments on commit e88850e

Please sign in to comment.