@@ -11,7 +11,6 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH};
1111
1212use scylla_proxy:: { Node , Proxy , ProxyError , RunningProxy , ShardAwareness } ;
1313
14- #[ cfg( test) ]
1514pub ( 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
2221static UNIQUE_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
2322
24- #[ allow( unused) ]
2523pub ( crate ) fn unique_keyspace_name ( ) -> String {
2624 let cnt = UNIQUE_COUNTER . fetch_add ( 1 , Ordering :: SeqCst ) ;
2725 let name = format ! (
8684 running_proxy. finish ( ) . await
8785}
8886
89- #[ allow( unused) ]
9087pub ( 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) ]
121117pub ( 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) ]
129124pub ( crate ) fn create_new_session_builder ( ) -> GenericSessionBuilder < impl SessionBuilderKind > {
130125 let session_builder = {
131126 #[ cfg( not( scylla_cloud_tests) ) ]
0 commit comments