Skip to content

Commit

Permalink
Fix warnings on tests (#966)
Browse files Browse the repository at this point in the history
A small change to fix "unused imports" warning messages when running
`cargo test`.

Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>
  • Loading branch information
monthonk authored Aug 1, 2024
1 parent 0732770 commit d3a0705
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mountpoint-s3/tests/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ use mountpoint_s3::fs::{CacheConfig, ToErrno, FUSE_ROOT_INODE};
use mountpoint_s3::prefix::Prefix;
use mountpoint_s3::s3::S3Personality;
use mountpoint_s3::S3FilesystemConfig;
#[cfg(feature = "s3_tests")]
use mountpoint_s3_client::config::{EndpointConfig, S3ClientConfig};
#[cfg(all(feature = "s3_tests", not(feature = "s3express_tests")))]
use mountpoint_s3_client::error_metadata::ClientErrorMetadata;
use mountpoint_s3_client::failure_client::countdown_failure_client;
use mountpoint_s3_client::mock_client::{MockClient, MockClientConfig, MockClientError, MockObject, Operation};
use mountpoint_s3_client::types::{ETag, RestoreStatus};
use mountpoint_s3_client::ObjectClient;
#[cfg(all(feature = "s3_tests", not(feature = "s3express_tests")))]
use mountpoint_s3_client::PutObjectRequest;
use mountpoint_s3_client::{ObjectClient, S3CrtClient};
#[cfg(feature = "s3_tests")]
use mountpoint_s3_client::S3CrtClient;
use nix::unistd::{getgid, getuid};
use rand::{Rng, SeedableRng};
use rand_chacha::ChaCha20Rng;
Expand Down

0 comments on commit d3a0705

Please sign in to comment.