Skip to content

Commit

Permalink
Merge pull request ClickHouse#60269 from ClickHouse/fix-test-backup-s3
Browse files Browse the repository at this point in the history
Fix integration `test_backup_restore_s3`
  • Loading branch information
alexey-milovidov authored Feb 22, 2024
2 parents 7948bab + 330043a commit 06d10fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_backup_restore_s3/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,10 @@ def create_user(user):

node.query("CREATE TABLE specific_auth (col UInt64) ENGINE=Memory")

assert "Access Denied" in node.query_and_get_error(
assert "Access" in node.query_and_get_error(
"BACKUP TABLE specific_auth TO S3('http://minio1:9001/root/data/backups/limited/backup1.zip')"
)
assert "Access Denied" in node.query_and_get_error(
assert "Access" in node.query_and_get_error(
"BACKUP TABLE specific_auth TO S3('http://minio1:9001/root/data/backups/limited/backup1.zip')",
user="regularuser",
)
Expand All @@ -491,7 +491,7 @@ def create_user(user):
user="superuser2",
)

assert "Access Denied" in node.query_and_get_error(
assert "Access" in node.query_and_get_error(
"RESTORE TABLE specific_auth FROM S3('http://minio1:9001/root/data/backups/limited/backup1.zip')",
user="regularuser",
)
Expand Down

0 comments on commit 06d10fa

Please sign in to comment.