Skip to content

Commit

Permalink
Fix keepermap test on 24.3
Browse files Browse the repository at this point in the history
  • Loading branch information
joelynch committed Oct 24, 2024
1 parent 7d39946 commit ff9639f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion astacus/coordinator/plugins/clickhouse/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def execute(self, query: bytes, timeout: float | None = None, session_id:
if self.password is not None:
headers.append(("X-ClickHouse-Key", self.password))
netloc = build_netloc(self.host, self.port)
params = {"wait_end_of_query": "1"}
params = {"wait_end_of_query": "1", "http_write_exception_in_output_format": "0"}
if session_id is not None:
params["session_id"] = session_id
response = await httpx_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -625,4 +625,4 @@ async def test_restores_keeper_map_tables(restored_cluster: Sequence[ClickHouseC
assert result == []
with pytest.raises(ClickHouseClientQueryError) as e:
await client.execute(b"SELECT * FROM default.keeper_map_dropped")
assert "Table default.keeper_map_dropped does not exist." in e.value.args[0]
assert "UNKNOWN_TABLE" in e.value.args[0]

0 comments on commit ff9639f

Please sign in to comment.