Skip to content

Commit

Permalink
chore: Ignore dead code in test build
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Jan 30, 2024
1 parent f7a0f07 commit 9c8021b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coordinator/src/block_streams_handler.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(test, allow(dead_code))]

use anyhow::Context;
use block_streamer::block_streamer_client::BlockStreamerClient;
use block_streamer::{
Expand Down
2 changes: 2 additions & 0 deletions coordinator/src/executors_handler.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(test, allow(dead_code))]

use anyhow::Context;
use runner::runner_client::RunnerClient;
use runner::{ExecutorInfo, ListExecutorsRequest, StartExecutorRequest, StopExecutorRequest};
Expand Down
2 changes: 2 additions & 0 deletions coordinator/src/redis.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(test, allow(dead_code))]

use std::fmt::Debug;

use anyhow::Context;
Expand Down
2 changes: 2 additions & 0 deletions coordinator/src/registry.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(test, allow(dead_code))]

use anyhow::Context;
use std::collections::HashMap;

Expand Down

0 comments on commit 9c8021b

Please sign in to comment.