mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Galera MTR Tests: Various test stability fixes (take #3)
This commit is contained in:
committed by
Nirbhay Choubey
parent
fd0aaad547
commit
ff76214a46
@ -39,6 +39,7 @@ let $wait_timeout= 0;
|
|||||||
let $wait_condition_reps= 0;
|
let $wait_condition_reps= 0;
|
||||||
while ($wait_counter)
|
while ($wait_counter)
|
||||||
{
|
{
|
||||||
|
--error 0,ER_NO_SUCH_TABLE,ER_LOCK_WAIT_TIMEOUT
|
||||||
let $success= `$wait_condition`;
|
let $success= `$wait_condition`;
|
||||||
inc $wait_condition_reps;
|
inc $wait_condition_reps;
|
||||||
if ($success)
|
if ($success)
|
||||||
|
@ -12,3 +12,4 @@ COUNT(*) = 3
|
|||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
STOP SLAVE;
|
STOP SLAVE;
|
||||||
RESET SLAVE ALL;
|
RESET SLAVE ALL;
|
||||||
|
RESET MASTER;
|
||||||
|
@ -45,3 +45,6 @@ DROP TABLE t1;
|
|||||||
|
|
||||||
STOP SLAVE;
|
STOP SLAVE;
|
||||||
RESET SLAVE ALL;
|
RESET SLAVE ALL;
|
||||||
|
|
||||||
|
--connection node_1
|
||||||
|
RESET MASTER;
|
||||||
|
@ -37,8 +37,6 @@ INSERT INTO t2 VALUES (1);
|
|||||||
|
|
||||||
SELECT COUNT(*) = 10 FROM t1;
|
SELECT COUNT(*) = 10 FROM t1;
|
||||||
SELECT COUNT(*) = 10 FROM t2;
|
SELECT COUNT(*) = 10 FROM t2;
|
||||||
SHOW PROCESSLIST;
|
|
||||||
SELECT COUNT(DISTINCT ID) FROM INFORMATION_SCHEMA.PROCESSLIST;
|
|
||||||
SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE 'committed%';
|
SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.PROCESSLIST WHERE STATE LIKE 'committed%';
|
||||||
|
|
||||||
--eval SET GLOBAL wsrep_slave_threads = $wsrep_slave_threads_orig;
|
--eval SET GLOBAL wsrep_slave_threads = $wsrep_slave_threads_orig;
|
||||||
|
Reference in New Issue
Block a user