Skip to content

Commit

Permalink
Fix test warnings (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Jun 25, 2024
1 parent 0d87b75 commit cc3fabd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions plane/plane-tests/tests/common/resources/pebble.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ echo "Starting pebble with DNS server $DNS_SERVER"

pub struct Pebble {
container: Container,
#[allow(dead_code)] // Used in tests
pub directory_url: Url,
}

Expand Down
2 changes: 2 additions & 0 deletions plane/plane-tests/tests/common/test_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub struct TestEnvironment {
drop_futures: Arc<Mutex<Vec<Arc<dyn AsyncDrop>>>>,
log_subscription: Arc<Mutex<Option<LogSubscription>>>,
pub run_name: String,
#[allow(dead_code)] // Used in tests.
pub cluster: ClusterName,
pub pool: DronePoolName,
}
Expand Down Expand Up @@ -201,6 +202,7 @@ impl TestEnvironment {
}

pub struct DnsServer {
#[allow(dead_code)] // Used in tests.
pub port: u16,
_handle: Option<tokio::task::JoinHandle<()>>,
}
Expand Down

0 comments on commit cc3fabd

Please sign in to comment.