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

Method start_with_trigger

src/environmentd/src/test_util.rs:258–262  ·  view source on GitHub ↗

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

(self, tls_reload_certs: ReloadTrigger)

Source from the content-addressed store, hash-verified

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> {

Callers 1

test_cert_reloadingFunction · 0.80

Calls 2

expectMethod · 0.80

Tested by

no test coverage detected