Skip to content

Commit fab2598

Browse files
committed
fix TestGCSMultipart, fix #1028
1 parent b9676e4 commit fab2598

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/gcs_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func TestGCSMultipart(t *testing.T) {
6363
r.Contains(out, "putFileMultipart", "upload must go through the parallel composite upload path")
6464

6565
execCmd(fmt.Sprintf("clickhouse-backup -c %s delete local %s", cfgPath, backupName))
66-
env.queryWithNoError(t, r, "DROP DATABASE IF EXISTS "+dbName)
66+
r.NoError(env.dropDatabase(dbName, true))
6767

6868
out = execCmd(fmt.Sprintf("clickhouse-backup -c %s download %s", cfgPath, backupName))
6969
r.Contains(out, "multipart download", "download must go through the multipart download path")
@@ -75,5 +75,5 @@ func TestGCSMultipart(t *testing.T) {
7575

7676
execCmd(fmt.Sprintf("clickhouse-backup -c %s delete local %s", cfgPath, backupName))
7777
execCmd(fmt.Sprintf("clickhouse-backup -c %s delete remote %s", cfgPath, backupName))
78-
env.queryWithNoError(t, r, "DROP DATABASE IF EXISTS "+dbName)
78+
r.NoError(env.dropDatabase(dbName, true))
7979
}

0 commit comments

Comments
 (0)