diff options
author | Alice Sherepa <alice.sherepa@gmail.com> | 2019-09-27 18:45:58 +0200 |
---|---|---|
committer | Alice Sherepa <alice.sherepa@gmail.com> | 2019-09-27 18:45:58 +0200 |
commit | 1c398db15e9ec5029b1ced7c019eb3f4b0b59ec3 (patch) | |
tree | 2de00fe24d6e0a2e3a8a6a0868199ba307fa7ea4 | |
parent | 9b5cdeeb0f3fa9540df50d7feec8a703db4777ab (diff) | |
download | mariadb-git-bb-10.4-alice.tar.gz |
slave runs with 5sec lag (before- 10 sec)bb-10.4-alice
-rw-r--r-- | mysql-test/suite/rpl/t/rpl_delayed_slave.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_delayed_slave.test b/mysql-test/suite/rpl/t/rpl_delayed_slave.test index 7dd7b9cf6d9..0c1fcf9479d 100644 --- a/mysql-test/suite/rpl/t/rpl_delayed_slave.test +++ b/mysql-test/suite/rpl/t/rpl_delayed_slave.test @@ -26,13 +26,13 @@ # # ==== Implementation ==== # -# We run the slave with 10 seconds lag. +# We run the slave with 5 seconds lag. # # In general, to test that a query has not been executed by the slave # before this time, we wait until the slave IO thread has received the # event, and then 5 seconds more, and check that the table has not # been updated. To test that a query has been executed after this -# time, we wait 10 seconds more. +# time, we wait 5 seconds more. # # To simulate that the slave lags due to slow queries, we invoke a # stored function that executes SLEEP if @@gloval.server_id==2. This @@ -51,7 +51,7 @@ # The test is inherently timing-sensitive (i.e., contains races) and # is likely to fail sporadically on a loaded host. # -# The test takes a long time; it sleeps for around 20*10 seconds. +# The test takes a long time; it sleeps for around 20*5 seconds. --source include/big_test.inc --source include/not_valgrind.inc @@ -73,7 +73,7 @@ call mtr.add_suppression("Unsafe statement written to the binary log using state # query has been copied to slave but not yet executed. # - If we execute a query on master and wait $time3 seconds, then the # query has been executed. ---let $time1= 10 +--let $time1= 5 if (`SELECT '$max_query_execution_time' > 0`) { --let $time1= $max_query_execution_time } |