From 1ac8149b83f002cd4754e1eca225560bc02b22e4 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 23 Sep 2022 14:37:58 +0200 Subject: [PATCH] MDEV-29608 Default SSL makes mysqlslap much slower, tests fail with timeout mysqlslap has an unusual semantics of the --iterations option, so that $ mysqlslap --concurrency=16 --iterations=1000 performs 16,000 connections. Because of that it gets many times slower with --ssl Let's disable ssl for mysqlslap in mysql-test --- mysql-test/include/default_client.cnf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql-test/include/default_client.cnf b/mysql-test/include/default_client.cnf index 1dda4b5b139..fc2fcf19e71 100644 --- a/mysql-test/include/default_client.cnf +++ b/mysql-test/include/default_client.cnf @@ -18,6 +18,9 @@ default-character-set=latin1 [mysql_upgrade] default-character-set=latin1 +[mysqlslap] +loose-skip-ssl + [mysqltest] loose-ssl-ca=@ENV.MYSQL_TEST_DIR/std_data/cacert.pem loose-ssl-cert=@ENV.MYSQL_TEST_DIR/std_data/client-cert.pem