Merge pull request #56116 from azat/tests/fix-test_format_schema_on_server

Fix test_format_schema_on_server flakiness
This commit is contained in:
Raúl Marín 2023-10-30 12:02:14 +01:00 committed by GitHub
commit 19c2ad5c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3697,6 +3697,8 @@ class ClickHouseInstance:
method = "POST" if data else "GET"
r = requester.request(method, url, data=data, auth=auth, timeout=timeout)
# Force encoding to UTF-8
r.encoding = "UTF-8"
if r.ok:
return (r.content if content else r.text, None)