Skip to content

Commit

Permalink
Fix test failures seen on buildbot where file_key_management plugin
Browse files Browse the repository at this point in the history
is linked statically and dynamic plugin is not available.
  • Loading branch information
Jan Lindström committed Sep 17, 2015
1 parent 7dd137c commit c83810f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions mysql-test/suite/encryption/t/filekeys_plugin_exists.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (!$FILE_KEY_MANAGEMENT_SO)
{
--skip Needs dynamic file_key_management plugin
}
1 change: 1 addition & 0 deletions mysql-test/suite/encryption/t/innodb-bad-key-change2.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
-- source include/not_valgrind.inc
# Avoid CrashReporter popup on Mac
-- source include/not_crashrep.inc
-- source filekeys_plugin_exists.inc
#
# MDEV-8750: Server crashes in page_cur_is_after_last on altering table using a wrong encryption key
#
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/encryption/t/innodb-bad-key-change3.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-- source include/not_valgrind.inc
# Avoid CrashReporter popup on Mac
-- source include/not_crashrep.inc

-- source filekeys_plugin_exists.inc
#
# MDEV-8772: Assertion failure in file ha_innodb.cc line 20027 when importing page compressed and encrypted tablespace using incorrect keys
#
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/encryption/t/innodb-bad-key-change4.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
-- source include/not_valgrind.inc
# Avoid CrashReporter popup on Mac
-- source include/not_crashrep.inc
-- source filekeys_plugin_exists.inc
#
# MDEV-8768: Server crash at file btr0btr.ic line 122 when checking encrypted table using incorrect keys
#
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/encryption/t/innodb-bad-key-change5.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
-- source include/not_valgrind.inc
# Avoid CrashReporter popup on Mac
-- source include/not_crashrep.inc
-- source filekeys_plugin_exists.inc
#
# MDEV-8769: Server crash at file btr0btr.ic line 122 when defragmenting encrypted table using incorrect keys
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ set autocommit=1;
--let $wait_condition=SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0
--source include/wait_condition.inc

--sleep 5
--sleep 10
--let SEARCH_PATTERN=foobar
--echo # t1 yes on expecting NOT FOUND
-- let SEARCH_FILE=$t1_IBD
Expand Down Expand Up @@ -110,7 +110,7 @@ SHOW CREATE TABLE t5;
SHOW CREATE TABLE t6;
SHOW CREATE TABLE t7;

--sleep 5
--sleep 10
--let SEARCH_PATTERN=foobar
--echo # t1 yes on expecting NOT FOUND
-- let SEARCH_FILE=$t1_IBD
Expand Down

0 comments on commit c83810f

Please sign in to comment.