Skip to content

Commit b800565

Browse files
committed
ci: add mutants skip
1 parent e077304 commit b800565

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testnet/stacks-node/src/run_loop/boot_nakamoto.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ impl BootRunLoop {
140140
naka_loop.start(burnchain_opt, mine_start, None)
141141
}
142142

143+
// configuring mutants::skip -- this function is covered through integration tests (this function
144+
// is pretty definitionally an integration, so thats unavoidable), and the integration tests
145+
// do not get counted in mutants coverage.
146+
#[cfg_attr(test, mutants::skip)]
143147
fn start_from_neon(&mut self, burnchain_opt: Option<Burnchain>, mine_start: u64) {
144148
let InnerLoops::Epoch2(ref mut neon_loop) = self.active_loop else {
145149
panic!("FATAL: unexpectedly invoked start_from_neon when active loop wasn't neon");

0 commit comments

Comments
 (0)