Skip to content

Commit

Permalink
Fix test_db_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter committed Jun 17, 2024
1 parent adb7468 commit c7b17f2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions regression-test/suites/db-sync/test_db_sync.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ suite("test_db_sync") {
def syncerAddress = "127.0.0.1:9190"
def test_num = 0
def insert_num = 5
def date_num = "2021-01-02"
def sync_gap_time = 5000

def createUniqueTable = { tableName ->
Expand Down Expand Up @@ -251,11 +250,6 @@ suite("test_db_sync") {
INSERT INTO ${keywordTableName} VALUES (${test_num}, ${index})
"""
}
for (int index = 0; index < insert_num; index++) {
sql """
INSERT INTO ${keywordTableName} VALUES (${test_num}, ${index}, '${date_num}')
"""
}

sql "sync"
assertTrue(checkShowTimesOf("SHOW CREATE TABLE TEST_${context.dbName}.${tableUnique1}",
Expand Down

0 comments on commit c7b17f2

Please sign in to comment.