Skip to content

Commit

Permalink
fix async tests
Browse files Browse the repository at this point in the history
  • Loading branch information
suetin committed Jun 13, 2024
1 parent 723d4db commit 1468bb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/features/async_setting.feature
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ Feature: mysync async mode tests
And I run SQL on mysql host "mysql3"
"""
STOP REPLICA FOR CHANNEL '';
CHANGE REPLICATION SOURCE TO SOURCE_DELAY = 150;
CHANGE REPLICATION SOURCE TO SOURCE_DELAY = 120;
START REPLICA FOR CHANNEL '';
"""
And I wait for "180" seconds
And I wait for "150" seconds
And I run SQL on mysql host "mysql1"
"""
INSERT INTO mysql.test_table1 VALUES ("D"), ("E"), ("F")
"""
And I wait for "30" seconds
And I wait for "70" seconds
When I run SQL on mysql host "mysql2"
"""
SELECT GROUP_CONCAT(value) as val from (SELECT value from mysql.test_table1 order by value) as t
Expand Down Expand Up @@ -149,7 +149,7 @@ Feature: mysync async mode tests
"""
INSERT INTO mysql.test_table1 VALUES ("D"), ("E"), ("F")
"""
And I wait for "60" seconds
And I wait for "70" seconds
When I run SQL on mysql host "mysql2"
"""
SELECT GROUP_CONCAT(value) as val from (SELECT value from mysql.test_table1 order by value) as t
Expand Down

0 comments on commit 1468bb5

Please sign in to comment.