Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions tests/integration_tests/run_heavy_it_in_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
13 changes: 6 additions & 7 deletions tests/integration_tests/tidb_mysql_test/r/date_formats.result
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
3 changes: 3 additions & 0 deletions tests/integration_tests/tidb_mysql_test/t/date_formats.test
Original file line number Diff line number Diff line change
Expand Up @@ -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()
#
Expand Down Expand Up @@ -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;