mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Fix test
This commit is contained in:
parent
e34101456a
commit
92c2219e82
@ -1704,7 +1704,8 @@ def test_ast_auth_headers(started_cluster):
|
|||||||
f"select count() from s3('http://resolver:8080/{bucket}/{filename}', 'CSV')"
|
f"select count() from s3('http://resolver:8080/{bucket}/{filename}', 'CSV')"
|
||||||
)
|
)
|
||||||
|
|
||||||
assert "Forbidden Error. (S3_ERROR)" in result
|
assert "Forbidden Error" in result
|
||||||
|
assert "S3Exception" in result
|
||||||
|
|
||||||
result = instance.query(
|
result = instance.query(
|
||||||
f"select * from s3('http://resolver:8080/{bucket}/{filename}', 'CSV', headers(Authorization=`Bearer TOKEN`))"
|
f"select * from s3('http://resolver:8080/{bucket}/{filename}', 'CSV', headers(Authorization=`Bearer TOKEN`))"
|
||||||
|
Loading…
Reference in New Issue
Block a user