(c: Composition)
| 174 | |
| 175 | |
| 176 | def 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 | """)) |
no test coverage detected