()
| 16 | static CLIENT: OnceLock<Client> = OnceLock::new(); |
| 17 | |
| 18 | fn get_client() -> Client { |
| 19 | CLIENT |
| 20 | .get_or_init(|| { |
| 21 | Client::builder() |
| 22 | .timeout(Duration::from_secs(5)) |
| 23 | .build() |
| 24 | .unwrap() |
| 25 | }) |
| 26 | .clone() |
| 27 | } |
| 28 | |
| 29 | pub struct Integration { |
| 30 | server: String, |
no test coverage detected