Skip to content

Commit 94d81c9

Browse files
committed
fix TestSkipDisk
Signed-off-by: Slach <[email protected]>
1 parent d5dbe80 commit 94d81c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/integration_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,7 @@ func testRestoreSkipDisk(t *testing.T, r *require.Assertions, env *TestEnvironme
18841884
var tableHdd1Exists uint64
18851885
r.NoError(env.ch.SelectSingleRowNoCtx(&tableHdd1Exists, "SELECT count() FROM system.tables WHERE database='test_skip_disks' AND name='table_hdd1'"))
18861886
r.Equal(uint64(1), tableHdd1Exists, "table_hdd1 shall exist in system.tables")
1887+
tableHdd1Exists = 0
18871888
r.NoError(env.ch.SelectSingleRowNoCtx(&tableHdd1Exists, "SELECT count() FROM system.parts WHERE active AND database='test_skip_disks' AND table='table_hdd1' AND disk_name='hdd1'"))
18881889
if tableHdd1Exists != 0 {
18891890
type hdd1Parts = struct {

0 commit comments

Comments
 (0)