MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / try_start_with_trigger

Method try_start_with_trigger

src/environmentd/src/test_util.rs:271–277  ·  view source on GitHub ↗

Like [`TestHarness::try_start`] but can specify a cert reload trigger.

(
        self,
        tls_reload_certs: ReloadTrigger,
    )

Source from the content-addressed store, hash-verified

269
270 /// Like [`TestHarness::try_start`] but can specify a cert reload trigger.
271 pub async fn try_start_with_trigger(
272 self,
273 tls_reload_certs: ReloadTrigger,
274 ) -> Result<TestServer, anyhow::Error> {
275 let listeners = Listeners::new(&self).await?;
276 listeners.serve_with_trigger(self, tls_reload_certs).await
277 }
278
279 /// Starts a runtime and returns a [`TestServerWithRuntime`].
280 pub fn start_blocking(self) -> TestServerWithRuntime {

Callers 2

start_with_triggerMethod · 0.80
try_startMethod · 0.80

Calls 1

serve_with_triggerMethod · 0.80

Tested by

no test coverage detected