File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
scylla/tests/integration/ccm/lib Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -99,29 +99,6 @@ pub(crate) static DB_TLS_KEY_PATH: LazyLock<String> = LazyLock::new(|| {
9999 db_key_path
100100} ) ;
101101
102- #[ cfg( feature = "ssl" ) ]
103- pub ( crate ) static CA_TLS_CERT_PATH : LazyLock < String > = LazyLock :: new ( || {
104- let cargo_manifest_dir = env ! ( "CARGO_MANIFEST_DIR" ) ;
105- let ca_cert_path_env = std:: env:: var ( "CA_TLS_CERT_PATH" ) ;
106- let ca_cert_path = match ca_cert_path_env {
107- Ok ( x) => x,
108- Err ( e) => {
109- info ! (
110- "CA_TLS_CERT_PATH env malformed or not present: {}. Using {}/../test/tls/ca.crt for ca cert." ,
111- e, cargo_manifest_dir
112- ) ;
113- cargo_manifest_dir. to_string ( ) + "/../test/tls/ca.crt"
114- }
115- } ;
116-
117- let path = PathBuf :: from ( & ca_cert_path) ;
118- if !path. try_exists ( ) . unwrap ( ) {
119- panic ! ( "DB cert file {:?} not found" , path) ;
120- }
121-
122- ca_cert_path
123- } ) ;
124-
125102pub ( crate ) async fn run_ccm_test < C , T , Fut > ( make_cluster_options : C , test_body : T )
126103where
127104 C : FnOnce ( ) -> ClusterOptions ,
You can’t perform that action at this time.
0 commit comments