diff --git a/rs/tests/consensus/tecdsa/tecdsa_complaint_test.rs b/rs/tests/consensus/tecdsa/tecdsa_complaint_test.rs index c0a4ffb36cc7..19a860ff7c99 100644 --- a/rs/tests/consensus/tecdsa/tecdsa_complaint_test.rs +++ b/rs/tests/consensus/tecdsa/tecdsa_complaint_test.rs @@ -89,6 +89,9 @@ fn main() -> Result<()> { SystemTestGroup::new() .with_setup(setup) .add_test(systest!(test)) + // There is a malicious node which creates corrupted idkg dealings, so it's expected + // that the metric will increase. + .remove_metrics_to_check("idkg_invalidated_artifacts") .execute_from_args()?; Ok(()) } diff --git a/rs/tests/driver/src/driver/group.rs b/rs/tests/driver/src/driver/group.rs index 82fd193e212e..5a97f47587b7 100644 --- a/rs/tests/driver/src/driver/group.rs +++ b/rs/tests/driver/src/driver/group.rs @@ -472,6 +472,10 @@ impl SystemTestGroup { metrics_to_check: vec![ String::from("critical_errors"), String::from("consensus_invalidated_artifacts"), + String::from("dkg_invalidated_artifacts"), + String::from("idkg_invalidated_artifacts"), + String::from("certification_invalidated_artifacts"), + String::from("canister_http_invalidated_artifacts"), ], } } diff --git a/rs/tests/driver/src/driver/test_env_api.rs b/rs/tests/driver/src/driver/test_env_api.rs index f059101a1053..ee05f401f2ef 100644 --- a/rs/tests/driver/src/driver/test_env_api.rs +++ b/rs/tests/driver/src/driver/test_env_api.rs @@ -1203,7 +1203,7 @@ impl IcNodeSnapshot { value[0], 0, "The metric `{name}` on node {} has non-zero value. \ If the metric is allowed to be non-zero in the test, \ - create `SystemTestGroup` with `remove_metrics_to_check(\"{name}\")", + create `SystemTestGroup` with `remove_metrics_to_check(\"{name}\")`", self.node_id, ); }