Skip to content

Commit

Permalink
change code (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-morozov authored Jan 17, 2025
1 parent f40fa2e commit 62c6fe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/modules/clickhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def get_response(context: ContextT, node: str, query: str) -> Tuple[int, str]:
return e.response.status_code, e.response.text
except ChunkedEncodingError as ex:
# Related PR: https://github.com/ClickHouse/ClickHouse/pull/68800
logging.warning(f"exception from server {ex}")
return 408, "Workaround for in-progress op"
logging.warning(f"query={query} was caused the exception from server {ex}")
return 500, "Workaround for in-progress op"


def get_version(context: ContextT, node: str) -> str:
Expand Down

0 comments on commit 62c6fe0

Please sign in to comment.