mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Automatic style fix
This commit is contained in:
parent
61d014f6ec
commit
315d38c365
@ -18,7 +18,10 @@ def server(_bucket, _path):
|
||||
response.content_type = "text/xml"
|
||||
return '<?xml version="1.0" encoding="UTF-8"?><Error><Code>InternalError</Code><Message>We encountered an internal error. Please try again.</Message><RequestId>txfbd566d03042474888193-00608d7538</RequestId></Error>'
|
||||
|
||||
response.set_header("Location", "http://minio1:9001/" + _bucket + "/" + _path + "?" + request.query_string)
|
||||
response.set_header(
|
||||
"Location",
|
||||
"http://minio1:9001/" + _bucket + "/" + _path + "?" + request.query_string,
|
||||
)
|
||||
response.status = 307
|
||||
return "Redirected"
|
||||
|
||||
|
@ -43,6 +43,7 @@ def run_endpoint(cluster):
|
||||
|
||||
logging.info("S3 endpoint started")
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def cluster():
|
||||
try:
|
||||
@ -67,6 +68,7 @@ def cluster():
|
||||
finally:
|
||||
cluster.shutdown()
|
||||
|
||||
|
||||
def test_dataloss(cluster):
|
||||
node = cluster.instances["node"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user