Browse Source
Galera MTR Tests: stability fixes
Galera MTR Tests: stability fixes
* remove part of galera_var_cluster_address.test that can not be tested reliably * reduce running time for galera_gcache_recover_manytrx.test * Additional wait_conditions for GAL-401.test Signed-off-by: Sachin Setiya <sachin.setiya@mariadb.com>pull/15/merge
7 changed files with 25 additions and 75 deletions
-
2mysql-test/include/galera_wait_ready.inc
-
11mysql-test/suite/galera/r/galera_many_tables_pk.result
-
24mysql-test/suite/galera/r/galera_var_cluster_address.result
-
3mysql-test/suite/galera/t/GAL-401.test
-
1mysql-test/suite/galera/t/galera_gcache_recover_manytrx.cnf
-
25mysql-test/suite/galera/t/galera_many_tables_pk.test
-
34mysql-test/suite/galera/t/galera_var_cluster_address.test
@ -0,0 +1,2 @@ |
|||
let $wait_condition = SELECT 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready' AND VARIABLE_VALUE = 'ON'; |
|||
--source include/wait_condition.inc |
|||
@ -1,20 +1,21 @@ |
|||
SELECT COUNT(*) = 900 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME LIKE 't%'; |
|||
COUNT(*) = 900 |
|||
SELECT COUNT(*) = 100 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME LIKE 't%'; |
|||
COUNT(*) = 100 |
|||
1 |
|||
SET AUTOCOMMIT=OFF; |
|||
START TRANSACTION; |
|||
COMMIT; |
|||
CREATE TABLE sum_table (f1 INTEGER); |
|||
SELECT SUM(f1) = 900 FROM sum_table; |
|||
SUM(f1) = 900 |
|||
SELECT SUM(f1) = 100 FROM sum_table; |
|||
SUM(f1) = 100 |
|||
1 |
|||
SET AUTOCOMMIT=OFF; |
|||
START TRANSACTION; |
|||
SET AUTOCOMMIT=OFF; |
|||
START TRANSACTION; |
|||
UPDATE t900 SET f1 = 3; |
|||
UPDATE t100 SET f1 = 3; |
|||
COMMIT; |
|||
COMMIT; |
|||
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction |
|||
include/diff_servers.inc [servers=1 2] |
|||
DROP SCHEMA test; |
|||
CREATE SCHEMA test; |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue