Skip to content

Commit a554fa2

Browse files
committed
integration/utils: Remove unnecessary annotations
1 parent e11d7dc commit a554fa2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scylla/tests/integration/utils.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH};
1111

1212
use scylla_proxy::{Node, Proxy, ProxyError, RunningProxy, ShardAwareness};
1313

14-
#[cfg(test)]
1514
pub(crate) fn setup_tracing() {
1615
let _ = tracing_subscriber::fmt::fmt()
1716
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
@@ -21,7 +20,6 @@ pub(crate) fn setup_tracing() {
2120

2221
static UNIQUE_COUNTER: AtomicUsize = AtomicUsize::new(0);
2322

24-
#[allow(unused)]
2523
pub(crate) fn unique_keyspace_name() -> String {
2624
let cnt = UNIQUE_COUNTER.fetch_add(1, Ordering::SeqCst);
2725
let name = format!(
@@ -86,7 +84,6 @@ where
8684
running_proxy.finish().await
8785
}
8886

89-
#[allow(unused)]
9087
pub(crate) async fn supports_feature(session: &Session, feature: &str) -> bool {
9188
// Cassandra doesn't have a concept of features, so first detect
9289
// if there is the `supported_features` column in system.local
@@ -117,15 +114,13 @@ pub(crate) async fn supports_feature(session: &Session, feature: &str) -> bool {
117114
.any(|f| f == feature)
118115
}
119116

120-
#[allow(unused)]
121117
pub(crate) async fn scylla_supports_tablets(session: &Session) -> bool {
122118
supports_feature(session, "TABLETS").await
123119
}
124120

125121
// Creates a generic session builder based on conditional compilation configuration
126122
// For SessionBuilder of DefaultMode type, adds localhost to known hosts, as all of the tests
127123
// connect to localhost.
128-
#[allow(unused)]
129124
pub(crate) fn create_new_session_builder() -> GenericSessionBuilder<impl SessionBuilderKind> {
130125
let session_builder = {
131126
#[cfg(not(scylla_cloud_tests))]

0 commit comments

Comments
 (0)