From 1305ff6e010e40631fb887c3e317acedb7c09af5 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Sun, 11 Aug 2019 15:17:48 +0300 Subject: [PATCH] debug info --- localtests/test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/localtests/test.sh b/localtests/test.sh index 1078965..0a913ae 100755 --- a/localtests/test.sh +++ b/localtests/test.sh @@ -50,6 +50,22 @@ verify_master_and_replica() { original_sql_mode="$(gh-ost-test-mysql-master -e "select @@global.sql_mode" -s -s)" echo "sql_mode on master is ${original_sql_mode}" + gh-ost-test-mysql-replica -uroot -proot -e "select 1 as root" -ss + gh-ost-test-mysql-replica -e "select 1 as msandbox" -ss + sleep 1 + gh-ost-test-mysql-replica -uroot -proot -e "select 1 as root" -ss + gh-ost-test-mysql-replica -e "select 1 as msandbox" -ss + sleep 1 + gh-ost-test-mysql-replica -uroot -proot -e "select 1 as root" -ss + gh-ost-test-mysql-replica -e "select 1 as msandbox" -ss + sleep 1 + gh-ost-test-mysql-replica -uroot -proot -e "select 1 as root" -ss + gh-ost-test-mysql-replica -e "select 1 as msandbox" -ss + sleep 1 + gh-ost-test-mysql-replica -uroot -proot -e "select 1 as root" -ss + gh-ost-test-mysql-replica -e "select 1 as msandbox" -ss + sleep 1 + if [ "$(gh-ost-test-mysql-replica -e "select 1" -ss)" != "1" ] ; then echo "Cannot verify gh-ost-test-mysql-replica" exit 1