Skip to content

Commit

Permalink
clean test
Browse files Browse the repository at this point in the history
  • Loading branch information
sylzd committed Dec 14, 2021
1 parent d3b60f6 commit 21ed19d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ddl/placement_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ func (s *testDBSuite6) TestPlacementPolicy(c *C) {
func (s *testDBSuite6) TestPlacementFollowers(c *C) {
tk := testkit.NewTestKit(c, s.store)
tk.MustExec("use test")
defer tk.MustExec("drop table if exists t1")
defer tk.MustExec("drop placement policy if exists x")

tk.MustExec("drop placement policy if exists x")
tk.MustGetErrMsg("create placement policy x FOLLOWERS=99", "invalid placement option: followers should be less than or equal to 8: 99")
Expand Down

0 comments on commit 21ed19d

Please sign in to comment.