mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02:00
MDEV-18542 : galera_sr.galera-features#56: Test failure: signal 6; mysqltest: Can't connect to local MySQL server
Make test faster
This commit is contained in:
parent
403818f466
commit
4afab3c725
3 changed files with 9 additions and 12 deletions
|
|
@ -11,5 +11,5 @@
|
|||
##############################################################################
|
||||
|
||||
GCF-1060 : MDEV-20848 galera_sr.GCF_1060
|
||||
galera-features#56 : MDEV-18542 galera_sr.galera-features#56
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,21 +18,21 @@ set session wsrep_sync_wait=0;
|
|||
SET GLOBAL wsrep_slave_threads = 4;
|
||||
SET SESSION wsrep_trx_fragment_size = 1;
|
||||
connection node_1;
|
||||
INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;;
|
||||
INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2;;
|
||||
connection node_1a;
|
||||
INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;;
|
||||
INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2;;
|
||||
connection node_2;
|
||||
INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;;
|
||||
INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2;;
|
||||
connection node_1;
|
||||
connection node_1a;
|
||||
connection node_2;
|
||||
set session wsrep_sync_wait=15;
|
||||
SELECT COUNT(*) FROM t1;
|
||||
COUNT(*)
|
||||
30000
|
||||
300
|
||||
SELECT COUNT(DISTINCT f1) FROM t1;
|
||||
COUNT(DISTINCT f1)
|
||||
30000
|
||||
300
|
||||
connection default;
|
||||
DROP TABLE t1;
|
||||
DROP TABLE ten;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
##
|
||||
|
||||
--source include/galera_cluster.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/big_test.inc
|
||||
|
||||
# Create a second connection to node1 so that we can run transactions concurrently
|
||||
--let $galera_connection_name = node_1a
|
||||
|
|
@ -19,7 +17,6 @@ INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
|
|||
CREATE TABLE t1 (f1 INTEGER AUTO_INCREMENT PRIMARY KEY, f2 INTEGER) Engine=InnoDB;
|
||||
SET SESSION wsrep_trx_fragment_size = 1;
|
||||
|
||||
|
||||
--connection node_2
|
||||
set session wsrep_sync_wait=15;
|
||||
SELECT COUNT(*) from ten;
|
||||
|
|
@ -35,13 +32,13 @@ SET GLOBAL wsrep_slave_threads = 4;
|
|||
SET SESSION wsrep_trx_fragment_size = 1;
|
||||
|
||||
--connection node_1
|
||||
--send INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;
|
||||
--send INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2;
|
||||
|
||||
--connection node_1a
|
||||
--send INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;
|
||||
--send INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2;
|
||||
|
||||
--connection node_2
|
||||
--send INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4;
|
||||
--send INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2;
|
||||
|
||||
--connection node_1
|
||||
--reap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue