Skip to content
3 changes: 3 additions & 0 deletions rs/tests/consensus/tecdsa/tecdsa_complaint_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
4 changes: 4 additions & 0 deletions rs/tests/driver/src/driver/group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
],
}
}
Expand Down
2 changes: 1 addition & 1 deletion rs/tests/driver/src/driver/test_env_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}
Expand Down
Loading