Skip to content

Commit

Permalink
Adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszrzasik committed Dec 17, 2024
1 parent 7ad446a commit 26cefbc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion crates/testing/tests/tests_1/test_with_failures_2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,17 @@ cross_tests!(
};

// 2 nodes fail triggering view sync, expect no other timeouts
metadata.overall_safety_properties.num_failed_views = 5;
metadata.overall_safety_properties.num_failed_views = 6;
// Make sure we keep committing rounds after the bad leaders, but not the full 50 because of the numerous timeouts
metadata.overall_safety_properties.num_successful_views = 20;
metadata.overall_safety_properties.expected_views_to_fail = HashMap::from([
(ViewNumber::new(5), false),
(ViewNumber::new(11), false),
(ViewNumber::new(17), false),
(ViewNumber::new(23), false),
(ViewNumber::new(29), false),
(ViewNumber::new(35), false),
]);

metadata
}
Expand Down

0 comments on commit 26cefbc

Please sign in to comment.