diff --git a/tests/integration_tests/run_heavy_it_in_ci.sh b/tests/integration_tests/run_heavy_it_in_ci.sh index 2585f5e934..d4970aa807 100755 --- a/tests/integration_tests/run_heavy_it_in_ci.sh +++ b/tests/integration_tests/run_heavy_it_in_ci.sh @@ -56,8 +56,7 @@ mysql_groups=( # G12 'ddl_with_random_move_table' # G13 - # 'tidb_mysql_test fail_over region_merge fail_over_ddl_mix_random_delay' - 'fail_over region_merge fail_over_ddl_mix_random_delay' + 'tidb_mysql_test fail_over region_merge fail_over_ddl_mix_random_delay' # G14 'fail_over_ddl_mix' # G15 @@ -83,8 +82,7 @@ kafka_groups=( # G07 'merge_table resolve_lock force_replicate_table ddl_for_split_tables' # G08 - # 'kafka_simple_claim_check kafka_simple_claim_check_avro tidb_mysql_test' - 'kafka_simple_claim_check kafka_simple_claim_check_avro' + 'kafka_simple_claim_check kafka_simple_claim_check_avro tidb_mysql_test' # G09 'kafka_simple_handle_key_only kafka_simple_handle_key_only_avro mq_sink_error_resume multi_source' # G10 @@ -120,8 +118,7 @@ pulsar_groups=( # G07 'merge_table resolve_lock force_replicate_table' # G08 - # 'tidb_mysql_test ddl_for_split_tables' - 'ddl_for_split_tables' + 'tidb_mysql_test ddl_for_split_tables' # G09 'mq_sink_error_resume' # G10 @@ -156,8 +153,7 @@ storage_groups=( # G07 'merge_table resolve_lock force_replicate_table' # G08 - # 'tidb_mysql_test ddl_for_split_tables' - 'ddl_for_split_tables' + 'tidb_mysql_test ddl_for_split_tables' # G09 'ddl_for_split_tables_with_merge_and_split' # G10 diff --git a/tests/integration_tests/tidb_mysql_test/r/date_formats.result b/tests/integration_tests/tidb_mysql_test/r/date_formats.result index 20c2718463..46e3fbc40f 100644 --- a/tests/integration_tests/tidb_mysql_test/r/date_formats.result +++ b/tests/integration_tests/tidb_mysql_test/r/date_formats.result @@ -317,13 +317,13 @@ a %m.%d.%Y select get_format(TIME, 'internal') as a; a - +%H%i%s select get_format(DATETIME, 'eur') as a; a - +%Y-%m-%d %H.%i.%s select get_format(TIMESTAMP, 'eur') as a; a - +%Y-%m-%d %H.%i.%s select get_format(DATE, 'TEST') as a; a @@ -469,7 +469,7 @@ Thursday 01 January 2009 SET NAMES utf8; SELECT LEAST('%', GET_FORMAT(datetime, 'eur'), CAST(GET_FORMAT(datetime, 'eur') AS CHAR(65535))); LEAST('%', GET_FORMAT(datetime, 'eur'), CAST(GET_FORMAT(datetime, 'eur') AS CHAR(65535))) - +% SET NAMES latin1; # # End of 5.1 tests @@ -541,12 +541,11 @@ b b IN ('20161213') b in ('20161213', 0) SELECT b, b = '121314', CASE b WHEN '121314' then 'found' ELSE 'not found' END FROM t8; b b = '121314' CASE b WHEN '121314' then 'found' ELSE 'not found' END +10:13:14 0 not found 11:13:14 0 not found 12:13:14 1 found -10:13:14 0 not found SELECT b, b in ('121314'), b in ('121314', 0) FROM t8; b b in ('121314') b in ('121314', 0) +10:13:14 0 0 11:13:14 0 0 12:13:14 1 1 -10:13:14 0 0 -DROP TABLE t6, t7, t8; diff --git a/tests/integration_tests/tidb_mysql_test/t/date_formats.test b/tests/integration_tests/tidb_mysql_test/t/date_formats.test index 5a2b732ed9..b6f129c6ec 100644 --- a/tests/integration_tests/tidb_mysql_test/t/date_formats.test +++ b/tests/integration_tests/tidb_mysql_test/t/date_formats.test @@ -100,6 +100,7 @@ select get_format(TIMESTAMP, 'eur') as a; select get_format(DATE, 'TEST') as a; select str_to_date('15-01-2001 12:59:59', GET_FORMAT(DATE,'USA')); + # # Test of date_format() # @@ -321,8 +322,10 @@ SELECT b, b = '20161213', SELECT b, b IN ('20161213'), b in ('20161213', 0) FROM t7; #Uses datatype TIME +--sorted_result SELECT b, b = '121314', CASE b WHEN '121314' then 'found' ELSE 'not found' END FROM t8; +--sorted_result SELECT b, b in ('121314'), b in ('121314', 0) FROM t8; #DROP TABLE t1, t2, t3;