From a554fa2e84bbbe5e8f0446727aba7c23a07ab675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Bary=C5=82a?= Date: Mon, 4 Nov 2024 14:01:48 +0100 Subject: [PATCH] integration/utils: Remove unnecessary annotations --- scylla/tests/integration/utils.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scylla/tests/integration/utils.rs b/scylla/tests/integration/utils.rs index 078347a703..87321972ba 100644 --- a/scylla/tests/integration/utils.rs +++ b/scylla/tests/integration/utils.rs @@ -11,7 +11,6 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH}; use scylla_proxy::{Node, Proxy, ProxyError, RunningProxy, ShardAwareness}; -#[cfg(test)] pub(crate) fn setup_tracing() { let _ = tracing_subscriber::fmt::fmt() .with_env_filter(tracing_subscriber::EnvFilter::from_default_env()) @@ -21,7 +20,6 @@ pub(crate) fn setup_tracing() { static UNIQUE_COUNTER: AtomicUsize = AtomicUsize::new(0); -#[allow(unused)] pub(crate) fn unique_keyspace_name() -> String { let cnt = UNIQUE_COUNTER.fetch_add(1, Ordering::SeqCst); let name = format!( @@ -86,7 +84,6 @@ where running_proxy.finish().await } -#[allow(unused)] pub(crate) async fn supports_feature(session: &Session, feature: &str) -> bool { // Cassandra doesn't have a concept of features, so first detect // if there is the `supported_features` column in system.local @@ -117,7 +114,6 @@ pub(crate) async fn supports_feature(session: &Session, feature: &str) -> bool { .any(|f| f == feature) } -#[allow(unused)] pub(crate) async fn scylla_supports_tablets(session: &Session) -> bool { supports_feature(session, "TABLETS").await } @@ -125,7 +121,6 @@ pub(crate) async fn scylla_supports_tablets(session: &Session) -> bool { // Creates a generic session builder based on conditional compilation configuration // For SessionBuilder of DefaultMode type, adds localhost to known hosts, as all of the tests // connect to localhost. -#[allow(unused)] pub(crate) fn create_new_session_builder() -> GenericSessionBuilder { let session_builder = { #[cfg(not(scylla_cloud_tests))]