Like [`TestHarness::start`] but can specify a cert reload trigger.
(self, tls_reload_certs: ReloadTrigger)
| 256 | |
| 257 | /// Like [`TestHarness::start`] but can specify a cert reload trigger. |
| 258 | pub async fn start_with_trigger(self, tls_reload_certs: ReloadTrigger) -> TestServer { |
| 259 | self.try_start_with_trigger(tls_reload_certs) |
| 260 | .await |
| 261 | .expect("Failed to start test Server") |
| 262 | } |
| 263 | |
| 264 | /// Starts a test [`TestServer`], returning an error if the server could not be started. |
| 265 | pub async fn try_start(self) -> Result<TestServer, anyhow::Error> { |
no test coverage detected