From 63f772ea5a049bec3565534d286ee867369a113d Mon Sep 17 00:00:00 2001 From: Mattias Jonsson Date: Thu, 8 Dec 2022 09:57:41 +0100 Subject: [PATCH] Made test more stable by removing show warnings, due to #38669 --- ddl/db_partition_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddl/db_partition_test.go b/ddl/db_partition_test.go index d714ed716f9f9..67e7d6a0484d7 100644 --- a/ddl/db_partition_test.go +++ b/ddl/db_partition_test.go @@ -4709,7 +4709,7 @@ func TestAlterModifyColumnOnPartitionedTableFail(t *testing.T) { tk.MustExec(`SET SQL_MODE = ''`) tk.MustExec(`alter table t modify a varchar(5)`) // fix https://github.com/pingcap/tidb/issues/38669 and update this - tk.MustQuery(`show warnings`).Check(testkit.Rows()) + //tk.MustQuery(`show warnings`).Check(testkit.Rows("Warning 1265 Data truncated for column 'a', value is '34 💥💥Longer than 11111'")) tk.MustExec(`SET SQL_MODE = DEFAULT`) tk.MustQuery(`select * from t`).Sort().Check(testkit.Rows(""+ "23 23",