mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Use SSL certs verification for CI DB
This commit is contained in:
parent
8a74b1cf2f
commit
7134fc848f
@ -32,9 +32,7 @@ class ClickHouseHelper:
|
|||||||
}
|
}
|
||||||
|
|
||||||
for i in range(5):
|
for i in range(5):
|
||||||
response = requests.post(
|
response = requests.post(url, params=params, data=json_str, headers=auth)
|
||||||
url, params=params, data=json_str, headers=auth, verify=False
|
|
||||||
)
|
|
||||||
|
|
||||||
logging.info("Response content '%s'", response.content)
|
logging.info("Response content '%s'", response.content)
|
||||||
|
|
||||||
@ -103,9 +101,7 @@ class ClickHouseHelper:
|
|||||||
for i in range(5):
|
for i in range(5):
|
||||||
response = None
|
response = None
|
||||||
try:
|
try:
|
||||||
response = requests.get(
|
response = requests.get(self.url, params=params, headers=self.auth)
|
||||||
self.url, params=params, headers=self.auth, verify=False
|
|
||||||
)
|
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
return response.text
|
return response.text
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
Loading…
Reference in New Issue
Block a user