##############################################################################
#
# List the test cases that are to be disabled temporarily.
#
# Separate the test case name and the comment with ':'.
#   <suite>.<test> [@platform|@!platform] : <BUG|WL>#<XXXX> [<comment>]
#
# Note:
#   - Do not use any TAB characters for whitespace.
#   - Length of a comment section must not be more than 80 characters.
#
##############################################################################

# audit_log
audit_log.audit_log_prune_seconds_var_cnf @windows : BUG#32245509 Test lets mysqltest crash only on windows.

# audit_null
audit_null.audit_plugin_bugs : BUG#28080637 Test fails consistently

# auth_sec

# binlog suite tests
binlog.binlog_mysqlbinlog_rewrite_db @windows     : BUG#26717205 Requires a debug client binary and fails consistently.
binlog_gtid.binlog_xa_select_gtid_executed_explicitly_crash : Bug#28588717 Fails both on FreeBSD and other platforms
binlog_nogtid.binlog_gtid_next_xa                 : BUG#33650776 Failure of XA COMMIT of prepared txn, can result in txn rollback
# func1 suite tests
funcs_1.is_basics_mixed @darwin  : BUG#25882809 INCORRECT RESULT WHEN USING SUBQUERY ON TOP OF VIEW.
funcs_1.is_basics_mixed @windows : BUG#25882809 INCORRECT RESULT WHEN USING SUBQUERY ON TOP OF VIEW.

# innodb suite tests
innodb.analyze_table @solaris                     : BUG#22607584 Failing too often on PB2 due to timeout.
innodb.log_corruption @darwin                     : BUG#27760219 Test fails consistently on freebsd and Mac after WL#11009.
innodb.log_corruption @freebsd                    : BUG#27760219 Test fails consistently on freebsd and Mac after WL#11009.
innodb.create_tablespace_partition                : WL#12034 Enable again once shared tablespaces are allowed in partitioned table.
innodb.alter_tablespace_partition                 : WL#12034 Enable again once shared tablespaces are allowed in partitioned table.
innodb.truncate                                   : WL#12034 Enable again once shared tablespaces are allowed in partitioned table.
innodb.subpartition                               : WL#12034 Enable again once shared tablespaces are allowed in partitioned table.
innodb.ddl_crash_alter_table_partition_tablespace : WL#12034 Enable again once shared tablespaces are allowed in partitioned table.
innodb.innodb_bug14676111                         : BUG#18200831 The test has never worked correctly
innodb.fts_exec_interrupt                         : Bug#28534199 The test is unstable and should be rewritten
innodb.slow_shutdown                              : Bug#31763837 mtr hits this debug assert post test run cleanup
innodb.upgrade_fts_aux                            : Bug#33034679 Test needs an upgrade of its 5.7 data files
innodb.instant_ddl_recovery_old                   : WL#12527 Redo format has changed - crashed_datadir.zip needs to be recreated.
innodb.log_logical_size                           : WL#12527 Test is shaky - needs to be fixed.
innodb.doublewrite_on_to_reduced                  : Bug#35087987 Mtr test doublewrite_on_to_reduced hangs
innodb.doublewrite_reduced                        : Bug#35087987 Mtr test doublewrite_on_to_reduced hangs
innodb.doublewrite_reduced_odirect                : Bug#35087987 Mtr test doublewrite_on_to_reduced hangs

# keyring tests
keyring_encrypted_file.keyring_migration_bugs @darwin : Bug#31041633

# Tests that run ALTER on the "mysql" database
innodb.mysql_ts_alter_encrypt_1                 : BUG#29531106 - ATTACHABLE_TRX(): ASSERTION `!M_THD->TRANSACTION_ROLLBACK_REQUEST' FAILED
component_keyring_file.mysql_ts_alter_encrypt_1 : BUG#29531106 - ATTACHABLE_TRX(): ASSERTION `!M_THD->TRANSACTION_ROLLBACK_REQUEST' FAILED


# main suite tests
main.ds_mrr-big @solaris : BUG#14168107 Test leads to timeout on Solaris on slow sparc servers.
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
main.internal_tmp_disk_storage_engine : BUG#26917416 Disabled it since it's failing on pb2.

# max_parts suite tests
max_parts.innodb-import-partition-1                         : BUG#27413612 Fails consistently on hudson jobs. Disabled until bug is fixed.
max_parts.innodb_partition_open_files_limit @solaris        : BUG#27423163 Times out on Solaris platform on Hudson. Disabled until bug is fixed.
max_parts.partition_max_parts_hash_innodb @windows          : BUG#27681900 Disabling max_parts tests on windows.
max_parts.partition_max_parts_inv_innodb @windows           : BUG#27681900 Disabling max_parts tests on windows.
max_parts.partition_max_parts_key_innodb @windows           : BUG#27681900 Disabling max_parts tests on windows.
max_parts.partition_max_parts_list_innodb @windows          : BUG#27681900 Disabling max_parts tests on windows.
max_parts.partition_max_parts_range_innodb @windows         : BUG#27681900 Disabling max_parts tests on windows.
max_parts.partition_max_sub_parts_key_list_innodb @windows  : BUG#27681900 Disabling max_parts tests on windows.
max_parts.partition_max_sub_parts_key_range_innodb @windows : BUG#27681900 Disabling max_parts tests on windows.
max_parts.partition_max_sub_parts_list_innodb @windows      : BUG#27681900 Disabling max_parts tests on windows.
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.

# perfschema suite test
perfschema.threads_history      : BUG#27712231
perfschema.ssl                  : BUG#30910698
perfschema.idx_compare_events_waits_current : BUG#27865960
perfschema.idx_compare_ews_by_thread_by_event_name : BUG#31041671
perfschema.idx_compare_ews_by_instance : BUG#31791537
perfschema.idx_compare_rwlock_instances : BUG#31791537

# rpl_gtid suite tests
rpl_gtid.rpl_async_conn_failover_restart @windows : BUG#34132168 Disabled until bug is fixed
rpl_gtid.rpl_gtid_truncate_memory_table_after_start_server : BUG#24351040
rpl_gtid.rpl_gtid_perfschema_applier_xa_status           : BUG#27914287 Disabled until the WL#9075 (Performance Schema, XA Transactions) be implemented
rpl_gtid.rpl_gtid_mts_spco_deadlock_other_locks          : Bug#32499883 RPL_GTID.RPL_GTID_MTS_SPCO_DEADLOCK_OTHER_LOCKS FAILS ON PB2
rpl_gtid.rpl_start_replica_until_pos_with_gtid_only      : Bug#33119241 START REPLICA UNTIL SOURCE_LOG_POS SHOULD NOT STOP ON REPLICA EVENTS

# rpl_nogtid suite tests
rpl_nogtid.rpl_perfschema_applier_xa_status_check : BUG#27914287 Disabled until the WL#9075 (Performance Schema, XA Transactions) be implemented
rpl_nogtid.rpl_binlog_format_errors               : BUG#29776083 EXPLICIT BINLOG INJECTION WITH SELF LOGGING ENGINES IS BROKEN

# rpl suite tests
rpl.rpl_io_thd_wait_for_disk_space_stress : BUG#23581287 Disabled until bug is fixed.
rpl.rpl_writeset_add_unique_key : Bug#33134835 RPL_WRITESET_ADD_UNIQUE_KEY FAILS SPORADICALLY

# sys_vars tests
sys_vars.max_execution_time_basic @freebsd : BUG#31041720
sys_vars.innodb_log_writer_threads_basic : Bug#32129814 SYS_VARS.INNODB_LOG_WRITER_THREADS_BASIC TIMES OUT SPORADICALLY ON PB2

# sysschema suite tests
sysschema.v_wait_classes_global_by_avg_latency : BUG#21550054 Test fails too often.

# x plugin suite tests

# Group Replication tests.

# These will only run in XCom because of the following issue:
group_replication.gr_join_with_suspect_member : BUG#31704262 XCOM CREATES NODES WITH PAST GHOST VIEWS
group_replication.gr_leave_with_suspect_member : BUG#31704262 XCOM CREATES NODES WITH PAST GHOST VIEWS
group_replication.gr_majority_loss_restored_after_timeout : BUG#31704262 XCOM CREATES NODES WITH PAST GHOST VIEWS
group_replication.gr_primary_mode_group_operations_joining_during_election @windows : BUG#33679225 Disabled until bug is fixed
group_replication.gr_primary_mode_group_operations_net_partition_4 @windows : BUG#34673762 Disabled until bug is fixed
group_replication.gr_suspect_member_resumes_after_crash_join_retries : BUG#32458239 GR_SUSPECT_MEMBER_RESUMES_AFTER_CRASH_JOIN_RETRIES IS NOT STABLE
group_replication.gr_xa_commit_failure_before_gtid_externalization @windows : BUG#34155238 Disabled until bug is fixed
group_replication.gr_xa_commit_one_phase_failure_before_gtid_externalization @windows : BUG#34155238 Disabled until bug is fixed
group_replication.gr_xa_prepare_failure_before_gtid_externalization @windows : BUG#34155238 Disabled until bug is fixed
group_replication.gr_xa_rollback_failure_before_gtid_externalization @windows : BUG#34155238 Disabled until bug is fixed

