LCOV - code coverage report
Current view: top level - pageserver/pagebench/src/util - connstring.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 0.0 % 6 0
Test Date: 2024-02-14 18:05:35 Functions: 0.0 % 1 0

            Line data    Source code
       1            0 : pub(crate) fn connstring(host_port: &str, jwt: Option<&str>) -> String {
       2            0 :     let colon_and_jwt = if let Some(jwt) = jwt {
       3            0 :         format!(":{jwt}") // TODO: urlescape
       4              :     } else {
       5            0 :         String::new()
       6              :     };
       7            0 :     format!("postgres://postgres{colon_and_jwt}@{host_port}")
       8            0 : }
        

Generated by: LCOV version 2.1-beta