Skip to content

Commit 5b275b4

Browse files
committed
Enable valgrind for replication test
The following tests are disabled when running --valgrding without --big: - rpl.rpl_ssl - rpl.rpl_semi_sync_event - All encryption test (which includes have_file_key_management.inc)
1 parent 112870d commit 5b275b4

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

mysql-test/include/have_file_key_management.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ if (`SELECT COUNT(*)=0 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'file
22
{
33
--skip Test requires file_key_management plugin
44
}
5+
6+
#
7+
# This file is only included when using encryption. As all encryption test are
8+
# very slow with valgrind, lets disable these if not run with --big
9+
#
10+
--source include/no_valgrind_without_big.inc

mysql-test/include/master-slave.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--source include/no_valgrind_without_big.inc
2-
31
# ==== Purpose ====
42
#
53
# Configure two servers to be replication master and slave.

mysql-test/suite/rpl/include/rpl_ssl.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
source include/have_ssl_communication.inc;
88
source include/master-slave.inc;
9+
source include/no_valgrind_without_big.inc;
910

1011
# create a user for replication that requires ssl encryption
1112
connection master;

mysql-test/suite/rpl/t/rpl_semi_sync_event.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source include/not_embedded.inc;
22
source include/have_innodb.inc;
33
source include/master-slave.inc;
4+
source include/no_valgrind_without_big.inc;
45

56
let $engine_type= InnoDB;
67

0 commit comments

Comments
 (0)