From 25fc066255cf92b9a7bc2acb578c7f066940016d Mon Sep 17 00:00:00 2001 From: Slach Date: Thu, 7 Sep 2023 13:39:51 +0400 Subject: [PATCH] clean cache for metadata for no_delete_backup to avoid conflict with TestServerAPI --- test/integration/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/integration_test.go b/test/integration/integration_test.go index be47b023..4a8ca7c7 100644 --- a/test/integration/integration_test.go +++ b/test/integration/integration_test.go @@ -435,7 +435,7 @@ func TestS3NoDeletePermission(t *testing.T) { r.Error(dockerExec("clickhouse-backup", "clickhouse-backup", "delete", "remote", "no_delete_backup")) databaseList := []string{dbNameOrdinary, dbNameAtomic, dbNameMySQL, dbNamePostgreSQL, Issue331Atomic, Issue331Ordinary} dropDatabasesFromTestDataDataSet(t, r, ch, databaseList) - r.NoError(dockerExec("minio", "bash", "-ce", "rm -rfv /data/clickhouse/")) + r.NoError(dockerExec("minio", "bash", "-ce", "rm -rfv /data/*")) r.NoError(dockerExec("clickhouse-backup", "bash", "-ce", "rm -rfv /tmp/.clickhouse-backup-metadata.cache*")) }