Commit f01a16b5 authored by Philip Stoev's avatar Philip Stoev Committed by Nirbhay Choubey

Galera MTR Tests: fortify galera_bf_abort_flush_for_export against sporadic failures.

parent 30c6ac3c
...@@ -6,9 +6,10 @@ SET SESSION wsrep_sync_wait = 0; ...@@ -6,9 +6,10 @@ SET SESSION wsrep_sync_wait = 0;
UNLOCK TABLES; UNLOCK TABLES;
COMMIT; COMMIT;
SET AUTOCOMMIT=ON; SET AUTOCOMMIT=ON;
SELECT * FROM t1; SET SESSION wsrep_sync_wait = 7;
f1 SELECT COUNT(*) = 1 FROM t1;
2 COUNT(*) = 1
1
wsrep_local_aborts_increment wsrep_local_aborts_increment
1 1
DROP TABLE t1; DROP TABLE t1;
...@@ -27,9 +27,8 @@ UNLOCK TABLES; ...@@ -27,9 +27,8 @@ UNLOCK TABLES;
COMMIT; COMMIT;
SET AUTOCOMMIT=ON; SET AUTOCOMMIT=ON;
--let $wait_condition = SELECT COUNT(*) = 1 FROM t1 SET SESSION wsrep_sync_wait = 7;
--source include/wait_condition.inc SELECT COUNT(*) = 1 FROM t1;
SELECT * FROM t1;
--let $wsrep_local_bf_aborts_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_bf_aborts'` --let $wsrep_local_bf_aborts_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_bf_aborts'`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment