Skip to content

Commit

Permalink
Tests: fix encryption.encrypt_and_grep [#387]
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgs committed Dec 14, 2017
1 parent 2e3b580 commit f14f048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mysql-test/suite/encryption/r/encrypt_and_grep.result
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ mysql/innodb_table_stats
mysql/innodb_index_stats
mysql/transaction_registry
mysql/vtmd_template
test/t2
test/t3
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION <> 0;
NAME
test/t1
test/t2
innodb_system
# t1 yes on expecting NOT FOUND
NOT FOUND /foobarsecret/ in t1.ibd
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/encryption/t/encrypt_and_grep.test
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SET GLOBAL innodb_encrypt_tables = off;

--echo # Wait max 10 min for key encryption threads to decrypt all spaces
--let $wait_timeout= 600
--let $wait_condition=SELECT COUNT(*) = 5 FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0 AND CURRENT_KEY_VERSION = 0;
--let $wait_condition=SELECT COUNT(*) = 6 FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0 AND CURRENT_KEY_VERSION = 0;
--source include/wait_condition.inc

SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0;
Expand Down

0 comments on commit f14f048

Please sign in to comment.