From 26cefbc2fb4880cf765b67775333baaa76c448d6 Mon Sep 17 00:00:00 2001 From: Lukasz Rzasik Date: Tue, 17 Dec 2024 20:40:48 +0100 Subject: [PATCH] Adjust test --- crates/testing/tests/tests_1/test_with_failures_2.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/testing/tests/tests_1/test_with_failures_2.rs b/crates/testing/tests/tests_1/test_with_failures_2.rs index aa5d1769e4..f2d92efa14 100644 --- a/crates/testing/tests/tests_1/test_with_failures_2.rs +++ b/crates/testing/tests/tests_1/test_with_failures_2.rs @@ -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 }