Skip to content

Commit

Permalink
Merge pull request #25118 from def-/pr-persist-txn
Browse files Browse the repository at this point in the history
platform-checks: No shadow catalog in persit-txn restart tests
  • Loading branch information
def- authored Feb 9, 2024
2 parents c529984 + 302a145 commit 7bb335f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions misc/python/materialize/checks/scenarios_persist_txn.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,37 @@ class PersistTxnToggle(Scenario):
def actions(self) -> list[Action]:
return [
StartMz(
self, additional_system_parameter_defaults={"persist_txn_tables": "off"}
self,
additional_system_parameter_defaults={"persist_txn_tables": "off"},
catalog_store="persist",
),
Initialize(self),
KillMz(capture_logs=True),
StartMz(
self,
additional_system_parameter_defaults={"persist_txn_tables": "eager"},
catalog_store="persist",
),
Manipulate(self, phase=1),
KillMz(capture_logs=True),
StartMz(
self,
additional_system_parameter_defaults={"persist_txn_tables": "lazy"},
catalog_store="persist",
),
Manipulate(self, phase=2),
KillMz(capture_logs=True),
StartMz(
self,
additional_system_parameter_defaults={"persist_txn_tables": "eager"},
catalog_store="persist",
),
Validate(self),
KillMz(capture_logs=True),
StartMz(
self, additional_system_parameter_defaults={"persist_txn_tables": "off"}
self,
additional_system_parameter_defaults={"persist_txn_tables": "off"},
catalog_store="persist",
),
Validate(self),
]
Expand All @@ -60,19 +67,22 @@ def actions(self) -> list[Action]:
self,
additional_system_parameter_defaults={"persist_txn_tables": "off"},
mz_service="mz_txn_tables_off",
catalog_store="persist",
),
Manipulate(self, phase=1, mz_service="mz_txn_tables_off"),
StartMz(
self,
additional_system_parameter_defaults={"persist_txn_tables": "eager"},
mz_service="mz_txn_tables_eager",
catalog_store="persist",
),
Manipulate(self, phase=2, mz_service="mz_txn_tables_eager"),
Validate(self, mz_service="mz_txn_tables_eager"),
StartMz(
self,
additional_system_parameter_defaults={"persist_txn_tables": "lazy"},
mz_service="mz_txn_tables_lazy",
catalog_store="persist",
),
Validate(self, mz_service="mz_txn_tables_lazy"),
# Since we are creating Mz instances with a non-default name,
Expand Down

0 comments on commit 7bb335f

Please sign in to comment.