Skip to content

Commit 2b5a084

Browse files
committed
integration/utils: Remove unnecessary annotations
1 parent f87e133 commit 2b5a084

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
@@ -12,7 +12,6 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH};
1212

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

15-
#[cfg(test)]
1615
pub(crate) fn setup_tracing() {
1716
let _ = tracing_subscriber::fmt::fmt()
1817
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
@@ -22,7 +21,6 @@ pub(crate) fn setup_tracing() {
2221

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

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

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

123-
#[allow(unused)]
124120
pub(crate) async fn scylla_supports_tablets(session: &Session) -> bool {
125121
supports_feature(session, "TABLETS").await
126122
}
127123

128124
// Creates a generic session builder based on conditional compilation configuration
129125
// For SessionBuilder of DefaultMode type, adds localhost to known hosts, as all of the tests
130126
// connect to localhost.
131-
#[allow(unused)]
132127
pub(crate) fn create_new_session_builder() -> GenericSessionBuilder<impl SessionBuilderKind> {
133128
let session_builder = {
134129
#[cfg(not(scylla_cloud_tests))]

0 commit comments

Comments
 (0)