Skip to content

Commit

Permalink
ddl: fix unstable test TestAlterTableDropPartitionByList (#37751)
Browse files Browse the repository at this point in the history
close #37750
  • Loading branch information
xuyifangreeneyes authored Sep 13, 2022
1 parent 8965ce6 commit 506dc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/db_partition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ func TestAlterTableDropPartitionByList(t *testing.T) {
);`)
tk.MustExec(`insert into t values (1),(3),(5),(null)`)
tk.MustExec(`alter table t drop partition p1`)
tk.MustQuery("select * from t").Check(testkit.Rows("1", "5", "<nil>"))
tk.MustQuery("select * from t").Sort().Check(testkit.Rows("1", "5", "<nil>"))
ctx := tk.Session()
is := domain.GetDomain(ctx).InfoSchema()
tbl, err := is.TableByName(model.NewCIStr("test"), model.NewCIStr("t"))
Expand Down

0 comments on commit 506dc05

Please sign in to comment.