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 3608f14 commit 788e30e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ 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 -rf /data/clickhouse/*"))
r.NoError(dockerExec("minio", "bash", "-ce", "rm -rfv /data/clickhouse/*"))
r.NoError(dockerExec("clickhouse-backup", "bash", "-ce", "rm -rfv /tmp/*"))
}

// TestDoRestoreRBAC need clickhouse-server restart, no parallel
Expand Down

0 comments on commit 788e30e

Please sign in to comment.