From 330043af3040214a199ff5b80791e5b2d4910719 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 22 Feb 2024 10:58:05 +0100 Subject: [PATCH] Fix integration `test_backup_restore_s3` --- tests/integration/test_backup_restore_s3/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_backup_restore_s3/test.py b/tests/integration/test_backup_restore_s3/test.py index 783cf1feade5..634f14621c0e 100644 --- a/tests/integration/test_backup_restore_s3/test.py +++ b/tests/integration/test_backup_restore_s3/test.py @@ -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", ) @@ -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", )