@@ -12,7 +12,6 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH};
1212
1313use scylla_proxy:: { Node , Proxy , ProxyError , RunningProxy , ShardAwareness } ;
1414
15- #[ cfg( test) ]
1615pub ( 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
2322static UNIQUE_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
2423
25- #[ allow( unused) ]
2624pub ( crate ) fn unique_keyspace_name ( ) -> String {
2725 let cnt = UNIQUE_COUNTER . fetch_add ( 1 , Ordering :: SeqCst ) ;
2826 let name = format ! (
8785 running_proxy. finish ( ) . await
8886}
8987
90- #[ allow( unused) ]
9188pub ( 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) ]
124120pub ( 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) ]
132127pub ( crate ) fn create_new_session_builder ( ) -> GenericSessionBuilder < impl SessionBuilderKind > {
133128 let session_builder = {
134129 #[ cfg( not( scylla_cloud_tests) ) ]
0 commit comments