Skip to content

Commit

Permalink
clean cache for metadata for no_delete_backup to avoid conflict with …
Browse files Browse the repository at this point in the history
…TestServerAPI
  • Loading branch information
Slach committed Sep 7, 2023
1 parent b3d9c3e commit 25fc066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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*"))
}

Expand Down

0 comments on commit 25fc066

Please sign in to comment.