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

Method new

src/environmentd/src/test_util.rs:696–699  ·  view source on GitHub ↗
(config: &TestHarness)

Source from the content-addressed store, hash-verified

694
695impl Listeners {
696 pub async fn new(config: &TestHarness) -> Result<Listeners, anyhow::Error> {
697 let inner = crate::Listeners::bind(config.listeners_config.clone()).await?;
698 Ok(Listeners { inner })
699 }
700
701 pub async fn serve(self, config: TestHarness) -> Result<TestServer, anyhow::Error> {
702 self.serve_with_trigger(config, mz_server_core::cert_reload_never_reload())

Callers

nothing calls this directly

Calls 8

optionsMethod · 0.80
sql_local_addrMethod · 0.80
cloneMethod · 0.45
application_nameMethod · 0.45
userMethod · 0.45
hostMethod · 0.45
to_stringMethod · 0.45
portMethod · 0.45

Tested by

no test coverage detected