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

Function toxiproxy_start

test/pubsub-disruption/mzcompose.py:176–186  ·  view source on GitHub ↗
(c: Composition)

Source from the content-addressed store, hash-verified

174
175
176def toxiproxy_start(c: Composition) -> None:
177 c.up("toxiproxy")
178 c.testdrive(input=dedent("""
179 $ http-request method=POST url=http://toxiproxy:8474/proxies content-type=application/json
180 {
181 "name": "pubsub",
182 "listen": "0.0.0.0:6879",
183 "upstream": "materialized:6879",
184 "enabled": true
185 }
186 """))

Callers 2

mzcompose.pyFile · 0.70
workflow_defaultFunction · 0.70

Calls 2

upMethod · 0.45
testdriveMethod · 0.45

Tested by

no test coverage detected