Skip to content

Commit

Permalink
Assert 0 errors during stress test
Browse files Browse the repository at this point in the history
  • Loading branch information
mystenmark committed Sep 23, 2022
1 parent 2b199db commit 82b16f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/sui-benchmark/tests/simtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ mod test {
let interval = Interval::Time(test_duration);

let show_progress = interval.is_unbounded();
driver
let stats = driver
.run(workloads, aggregator, &registry, show_progress, interval)
.await
.unwrap();

assert_eq!(stats.num_error, 0);
}
}

0 comments on commit 82b16f5

Please sign in to comment.