Skip to content

Commit 2f94f52

Browse files
committed
Temporary: Remove CA_TLS_CERT_PATH
1 parent 98a0b60 commit 2f94f52

File tree

1 file changed

+0
-23
lines changed
  • scylla/tests/integration/ccm/lib

1 file changed

+0
-23
lines changed

scylla/tests/integration/ccm/lib/mod.rs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff 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-
125102
pub(crate) async fn run_ccm_test<C, T, Fut>(make_cluster_options: C, test_body: T)
126103
where
127104
C: FnOnce() -> ClusterOptions,

0 commit comments

Comments
 (0)