Skip to content

Commit 4ba6f1f

Browse files
committed
try to fix intergation_test.go
Signed-off-by: Slach <[email protected]>
1 parent d9a3fc0 commit 4ba6f1f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/integration/integration_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3767,7 +3767,7 @@ func (env *TestEnvironment) runMainIntegrationScenario(t *testing.T, remoteStora
37673767

37683768
log.Debug().Msg("Download")
37693769
replaceStorageDiskNameForReBalance(t, r, env, remoteStorageType, false)
3770-
downloadCmd := fmt.Sprintf("clickhouse-backup -c /etc/clickhouse-backup/%s download --resume --hardlink-exists-files %s", backupConfig, fullBackupName)
3770+
downloadCmd := fmt.Sprintf("clickhouse-backup -c /etc/clickhouse-backup/%s download --resume %s", backupConfig, fullBackupName)
37713771
env.checkResumeAlreadyProcessed(downloadCmd, fullBackupName, "download", r, remoteStorageType)
37723772

37733773
log.Debug().Msg("Restore schema")
@@ -3849,6 +3849,10 @@ func (env *TestEnvironment) runMainIntegrationScenario(t *testing.T, remoteStora
38493849
fullCleanup(t, r, env, []string{fullBackupName, incrementBackupName}, []string{"remote"}, databaseList, true, true, true, backupConfig)
38503850
replaceStorageDiskNameForReBalance(t, r, env, remoteStorageType, true)
38513851

3852+
// 23.3 drop database doesn't cleanup object disk after DROP DATABASE
3853+
if compareVersion(os.Getenv("CLICKHOUSE_VERSION"), "23.3") == 0 {
3854+
env.DockerExecNoError(r, "minio", "bash", "-c", "rm -rf /minio/data/clickhouse/disk_s3")
3855+
}
38523856
// test for specified partitions backup
38533857
testBackupSpecifiedPartitions(t, r, env, remoteStorageType, backupConfig)
38543858

0 commit comments

Comments
 (0)