Skip to content

Commit 4dcc63b

Browse files
committed
Improve property tests
This commit improves the property tests for the filesystem model and fixes bugs in the model itself, specifically around how nodes are linked. Signed-off-by: Brian L. Troutwine <[email protected]>
1 parent 3fca486 commit 4dcc63b

File tree

3 files changed

+187
-158
lines changed

3 files changed

+187
-158
lines changed

Diff for: lading/proptest-regressions/generator/file_gen/model.txt

+8
Large diffs are not rendered by default.

Diff for: lading/src/bin/logrotate_fs.rs

+3
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,13 @@ fn main() -> Result<(), Error> {
310310
.expect("block construction"); // TODO make this an Error
311311

312312
let state = model::State::new(
313+
&mut rng,
313314
args.bytes_per_second.get_bytes() as u64, // Adjust units accordingly
314315
5, // TODO make an argument
315316
1_000_000, // 1MiB
316317
block_cache,
318+
10, // max_depth
319+
8, // concurrent_logs
317320
);
318321

319322
// Initialize the FUSE filesystem

0 commit comments

Comments
 (0)