Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/integration/test_erasure_replicated_ch.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ def db(raw: Any, monkeypatch: pytest.MonkeyPatch) -> Iterator[str]:
parameters={"db": name},
).result_rows
assert engines == [(True,)]
# Memory clears fence writes through the same database's lease table.
raw.command(
f"CREATE TABLE {name}._migration_lock AS {source}._migration_lock "
f"ENGINE = KeeperMap('/loom/tests/{name}/migration_lock') PRIMARY KEY name"
)
monkeypatch.setattr(settings, "ch_database", name)
yield name
finally:
Expand Down