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 e6e9921 commit 403dace
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)
out, err := dockerExecOut("minio", "bash", "-ce", "rm -rfv /data/*")
out, err := dockerExecOut("minio", "bash", "-ce", "rm -rfv /data/clickhouse/*")
r.NoError(err)
log.Info(out)
out, err = dockerExecOut("clickhouse-backup", "bash", "-ce", "rm -rfv /tmp/.clickhouse-backup-metadata.cache*")
Expand Down

0 comments on commit 403dace

Please sign in to comment.