File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ ghost_binary=""
1414exec_command_file=/tmp/gh-ost-test.bash
1515orig_content_output_file=/tmp/gh-ost-test.orig.content.csv
1616ghost_content_output_file=/tmp/gh-ost-test.ghost.content.csv
17+ throttle_flag_file=/tmp/gh-ost-test.ghost.throttle.flag
1718
1819master_host=
1920master_port=
@@ -108,7 +109,7 @@ test_single() {
108109 gh-ost-test-mysql-master --default-character-set=utf8mb4 test -e " set @@global.sql_mode='$( cat $tests_path /$test_name /sql_mode) '"
109110 gh-ost-test-mysql-replica --default-character-set=utf8mb4 test -e " set @@global.sql_mode='$( cat $tests_path /$test_name /sql_mode) '"
110111 fi
111-
112+
112113 gh-ost-test-mysql-master --default-character-set=utf8mb4 test < $tests_path /$test_name /create.sql
113114
114115 extra_args=" "
@@ -145,6 +146,7 @@ test_single() {
145146 --initially-drop-old-table \
146147 --initially-drop-ghost-table \
147148 --throttle-query='select timestampdiff(second, min(last_update), now()) < 5 from _gh_ost_test_ghc' \
149+ --throttle-flag-file=$throttle_flag_file \
148150 --serve-socket-file=/tmp/gh-ost.test.sock \
149151 --initially-drop-socket-file \
150152 --test-on-replica \
You can’t perform that action at this time.
0 commit comments