Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS-8854: Move Percona's MTR tests to suite/percona and suite/percona_innodb #11

Merged
merged 5 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion mysql-test/collections/disabled.def
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ component_keyring_file.mysql_ts_alter_encrypt_1 : BUG#29531106 - ATTACHABLE_TRX(

# main suite tests
main.ds_mrr-big @solaris : BUG#14168107 Test leads to timeout on Solaris on slow sparc servers.
main.bug100352 : BUG#100352 https://bugs.mysql.com/bug.php?id=100352
main.gtid_next_xa_binlog_off : BUG#33650776 Failure of XA COMMIT of prepared txn, can result in txn rollback

# Disabled due to InnoDB issues
Expand All @@ -78,6 +77,9 @@ max_parts.partition_max_sub_parts_list_innodb @windows : BUG#27681900 Disab
max_parts.partition_max_sub_parts_range_innodb @windows : BUG#27681900 Disabling max_parts tests on windows.
max_parts.innodb_partition_open_files_limit : BUG#27423163 Test times out consistently on Hudson.

# percona suite test
percona.bug100352 : BUG#100352 https://bugs.mysql.com/bug.php?id=100352

# perfschema suite test
perfschema.threads_history : BUG#27712231
perfschema.ssl : BUG#30910698
Expand Down
3 changes: 3 additions & 0 deletions mysql-test/mysql-test-run.pl
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ sub set_term_args {

audit_log_filter
binlog_57_decryption
component_encryption_udf
percona
percona_innodb
percona-pam-for-mysql
data_masking
procfs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
INSTALL COMPONENT 'file://component_encryption_udf';

--let $include_digests_with_no_ans1_ids = 0
--source include/percona_encryption_udf_digest_table.inc
--source ../include/encryption_udf_digest_table.inc

--echo
--echo ** checking private key generation, public key derivation, encryption/decryption and sign/verify functionality
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

--let $key_length = 1024

--source include/percona_encryption_udf_dh.inc
--source ../include/encryption_udf_dh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
--let $key_length = 1024
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_dh.inc
--source ../include/encryption_udf_dh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

--let $key_length = 4096

--source include/percona_encryption_udf_dh.inc
--source ../include/encryption_udf_dh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
--let $key_length = 4096
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_dh.inc
--source ../include/encryption_udf_dh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ INSTALL COMPONENT 'file://component_encryption_udf';
eval SET @random_pattern = REPEAT(MD5(42), $number_of_length_iterations * $length_increment DIV 32 + 1);

--let $include_digests_with_no_ans1_ids = 1
--source include/percona_encryption_udf_digest_table.inc
--source ../include/encryption_udf_digest_table.inc

--disable_query_log
--let $digest_type_idx = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
--let $algorithm = DSA
--let $key_length = 1024

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
--let $key_length = 1024
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
--let $algorithm = DSA
--let $key_length = 4096

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
--let $key_length = 4096
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
--let $algorithm = DSA
--let $key_length = 9984

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
--let $key_length = 9984
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
--let $algorithm = RSA
--let $key_length = 1024

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
--let $key_length = 1024
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
--let $algorithm = RSA
--let $key_length = 16384

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
--let $key_length = 16384
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
--let $algorithm = RSA
--let $key_length = 4096

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
--let $key_length = 4096
--let $use_openssl_binary = 1

--source include/percona_encryption_udf_xsa.inc
--source ../include/encryption_udf_xsa.inc

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions mysql-test/suite/innodb/t/percona_kill_idle_trx_innodb.test

This file was deleted.

11 changes: 0 additions & 11 deletions mysql-test/suite/innodb/t/xtradb_compressed_columns_ibd_sizes.test

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ eval OPTIMIZE TABLE $enforce_table;
# Make sure table engine and column definition hasn't been changed
--let $enforce_engine= InnoDB
--let $enforce_column= varchar(1)
--source include/percona_enforce_storage_engine_alter_table_assert.inc
--source ../include/percona_enforce_storage_engine_alter_table_assert.inc


# ALTER TABLE with ALGORITHM=INSTANT must not change table engine
eval ALTER TABLE $enforce_table ADD COLUMN b ENUM('a', 'b'), ALGORITHM=INSTANT;

--echo After ALTER TABLE with ALGORITHM=INSTANT
# Make sure table engine and column definition hasn't been changed
--source include/percona_enforce_storage_engine_alter_table_assert.inc
--source ../include/percona_enforce_storage_engine_alter_table_assert.inc


# ALTER TABLE with ALGORITHM=INPLACE must not change table engine
eval ALTER TABLE $enforce_table DROP COLUMN b, ALGORITHM=INPLACE;

--echo After ALTER TABLE with ALGORITHM=INPLACE
# Make sure table engine and column definition hasn't been changed
--source include/percona_enforce_storage_engine_alter_table_assert.inc
--source ../include/percona_enforce_storage_engine_alter_table_assert.inc


# ALTER TABLE with ALGORITHM=COPY must not change table engine
Expand All @@ -32,4 +32,4 @@ eval ALTER TABLE $enforce_table MODIFY a INT, ALGORITHM=COPY;
# Make sure table engine hasn't been changed
# Make sure column definition has been changed
--let $enforce_column= int
--source include/percona_enforce_storage_engine_alter_table_assert.inc
--source ../include/percona_enforce_storage_engine_alter_table_assert.inc
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ accessed. Statement des not fail in case DD table names
are submitted as strings in WHERE clause.

[log_start.inc] percona.slow_extended.log_error_4
SELECT SCHEMA_NAME as Test FROM information_schema.schemata WHERE SCHEMA_NAME NOT IN ('mysql', 'performance_schema', 'information_schema');
SELECT SCHEMA_NAME as Test FROM information_schema.schemata WHERE SCHEMA_NAME NOT IN ('mysql', 'performance_schema', 'information_schema') ORDER BY SCHEMA_NAME;
Test
mtr
sys
test
mtr
[log_stop.inc] percona.slow_extended.log_error_4
[log_grep.inc] file: percona.slow_extended.log_error_4 pattern: ^.*Last_errno: 0 .*$
[log_grep.inc] lines: 2
Expand Down
File renamed without changes.
Loading