Skip to content

Commit

Permalink
Fix crucible-common tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Feb 16, 2024
1 parent 430427d commit f548fbd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@ uuid.workspace = true
crucible-workspace-hack.workspace = true
dropshot.workspace = true

[dev-dependencies]
proptest.workspace = true
test-strategy.workspace = true

[build-dependencies]
vergen = { version = "8.2", features = ["cargo", "git", "git2", "rustc" ] }
2 changes: 1 addition & 1 deletion common/src/impacted_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ mod test {
#[strategy(1 ..= (u64::MAX / #extent_count as u64))]
extent_size: u64,

#[strategy(crucible_common::MIN_SHIFT..=crucible_common::MAX_SHIFT)]
#[strategy(crate::MIN_SHIFT..=crate::MAX_SHIFT)]
block_shift: u32,
}

Expand Down

0 comments on commit f548fbd

Please sign in to comment.