@@ -80,23 +80,23 @@ suite("test_seq_map_backup_restore", "p1") {
8080 // version1
8181 assertTrue (syncer. getSnapshot(" seq_map_snapshot1" , " ${ tableName} " ))
8282 assertTrue (syncer. restoreSnapshot())
83- syncer. waitAllRestoreFinish()
83+ syncer. waitAllRestoreFinish(dbName )
8484 qt_7 """ select * from ${ dbName} .$tableName order by a"""
8585
8686 // version2
8787 assertTrue (syncer. getSnapshot(" seq_map_snapshot2" , " ${ tableName} " ))
8888 assertTrue (syncer. restoreSnapshot())
89- syncer. waitAllRestoreFinish()
89+ syncer. waitAllRestoreFinish(dbName )
9090 qt_8 """ select * from ${ dbName} .$tableName order by a"""
9191 // version3
9292 assertTrue (syncer. getSnapshot(" seq_map_snapshot3" , " ${ tableName} " ))
9393 assertTrue (syncer. restoreSnapshot())
94- syncer. waitAllRestoreFinish()
94+ syncer. waitAllRestoreFinish(dbName )
9595 qt_9 """ select * from ${ dbName} .$tableName order by a"""
9696 // version4
9797 assertTrue (syncer. getSnapshot(" seq_map_snapshot4" , " ${ tableName} " ))
9898 assertTrue (syncer. restoreSnapshot())
99- syncer. waitAllRestoreFinish()
99+ syncer. waitAllRestoreFinish(dbName )
100100 qt_10 """ select * from ${ dbName} .$tableName order by a"""
101101
102102 sql """ drop table if exists ${ dbName} .$tableName """
@@ -124,23 +124,23 @@ suite("test_seq_map_backup_restore", "p1") {
124124 // version1
125125 assertTrue (syncer. getSnapshot(" seq_map_snapshot1" , " ${ tableName} " ))
126126 assertTrue (syncer. restoreSnapshot())
127- syncer. waitAllRestoreFinish()
127+ syncer. waitAllRestoreFinish(dbName )
128128 qt_11 """ select * from ${ dbName} .$tableName order by a"""
129129
130130 // version2
131131 assertTrue (syncer. getSnapshot(" seq_map_snapshot2" , " ${ tableName} " ))
132132 assertTrue (syncer. restoreSnapshot())
133- syncer. waitAllRestoreFinish()
133+ syncer. waitAllRestoreFinish(dbName )
134134 qt_12 """ select * from ${ dbName} .$tableName order by a"""
135135 // version3
136136 assertTrue (syncer. getSnapshot(" seq_map_snapshot3" , " ${ tableName} " ))
137137 assertTrue (syncer. restoreSnapshot())
138- syncer. waitAllRestoreFinish()
138+ syncer. waitAllRestoreFinish(dbName )
139139 qt_13 """ select * from ${ dbName} .$tableName order by a"""
140140 // version4
141141 assertTrue (syncer. getSnapshot(" seq_map_snapshot4" , " ${ tableName} " ))
142142 assertTrue (syncer. restoreSnapshot())
143- syncer. waitAllRestoreFinish()
143+ syncer. waitAllRestoreFinish(dbName )
144144 qt_14 """ select * from ${ dbName} .$tableName order by a"""
145145
146146 sql """ drop table if exists ${ dbName} .$tableName """
@@ -169,7 +169,7 @@ suite("test_seq_map_backup_restore", "p1") {
169169 syncer. waitSnapshotFinish()
170170 assertTrue (syncer. getSnapshot(" seq_map_seq_without_value_snapshot" , " ${ tableName} " ))
171171 assertTrue (syncer. restoreSnapshot())
172- syncer. waitAllRestoreFinish()
172+ syncer. waitAllRestoreFinish(dbName )
173173 qt_16 """ select * from ${ dbName} .$tableName order by a"""
174174
175175 sql """ drop table if exists ${ dbName} .$tableName """
0 commit comments