Skip to content

Commit

Permalink
Fix test_checkout_chores test.
Browse files Browse the repository at this point in the history
  • Loading branch information
porcuquine committed Oct 6, 2020
1 parent ad93734 commit 29c05a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage-proofs/porep/src/stacked/vanilla/cores.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ mod tests {

#[test]
fn test_cores() {
core_groups();
core_groups(2);
}

#[test]
Expand All @@ -180,6 +180,7 @@ mod tests {
let checkout2 = checkout_core_group();
dbg!(&checkout2);

// This test might fail if run on a machine with fewer than four cores.
match (checkout1, checkout2) {
(Some(c1), Some(c2)) => assert!(*c1 != *c2),
_ => panic!("failed to get two checkouts"),
Expand Down

0 comments on commit 29c05a1

Please sign in to comment.