Skip some mutants

Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
This commit is contained in:
Jacinta Ferrant
2024-05-14 09:34:54 -07:00
parent 382cdfd33a
commit 8d6a3a56f7
3 changed files with 3 additions and 0 deletions

View File

@@ -225,6 +225,7 @@ impl SignerStopSignaler {
}
impl EventStopSignaler for SignerStopSignaler {
#[cfg_attr(test, mutants::skip)]
fn send(&mut self) {
self.stop_signal.store(true, Ordering::SeqCst);
// wake up the thread so the atomicbool can be checked

View File

@@ -72,6 +72,7 @@ define_u8_enum!(SignerMessageTypePrefix {
BlockResponse = 1
});
#[cfg_attr(test, mutants::skip)]
impl MessageSlotID {
/// Return the StackerDB contract corresponding to messages of this type
pub fn stacker_db_contract(

View File

@@ -108,6 +108,7 @@ define_u8_enum!(SignerMessageTypePrefix {
EncryptedSignerState = 4
});
#[cfg_attr(test, mutants::skip)]
impl MessageSlotID {
/// Return the StackerDB contract corresponding to messages of this type
pub fn stacker_db_contract(