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

Function workflow_replication_slots

test/pg-cdc/mzcompose.py:152–160  ·  view source on GitHub ↗
(c: Composition, parser: WorkflowArgumentParser)

Source from the content-addressed store, hash-verified

150
151
152def workflow_replication_slots(c: Composition, parser: WorkflowArgumentParser) -> None:
153 pg_version = get_targeted_pg_version(parser)
154 with c.override(
155 create_postgres(
156 pg_version=pg_version, extra_command=["-c", "max_replication_slots=2"]
157 )
158 ):
159 c.up("materialized", "postgres")
160 c.run_testdrive_files("override/replication-slots.td")
161
162
163def workflow_wal_level(c: Composition, parser: WorkflowArgumentParser) -> None:

Callers

nothing calls this directly

Calls 5

overrideMethod · 0.80
run_testdrive_filesMethod · 0.80
get_targeted_pg_versionFunction · 0.70
create_postgresFunction · 0.70
upMethod · 0.45

Tested by

no test coverage detected