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):
|
||||
response = requests.post(
|
||||
url, params=params, data=json_str, headers=auth, verify=False
|
||||
)
|
||||
response = requests.post(url, params=params, data=json_str, headers=auth)
|
||||
|
||||
logging.info("Response content '%s'", response.content)
|
||||
|
||||
@ -103,9 +101,7 @@ class ClickHouseHelper:
|
||||
for i in range(5):
|
||||
response = None
|
||||
try:
|
||||
response = requests.get(
|
||||
self.url, params=params, headers=self.auth, verify=False
|
||||
)
|
||||
response = requests.get(self.url, params=params, headers=self.auth)
|
||||
response.raise_for_status()
|
||||
return response.text
|
||||
except Exception as ex:
|
||||
|
Loading…
Reference in New Issue
Block a user