Skip to content

Commit

Permalink
tests: make TestIndexLookupMergeJoinHang and TestIssue18068 stable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot committed Jun 22, 2021
1 parent 468f04a commit 749a99c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executor/index_lookup_merge_join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/pingcap/tidb/util/testkit"
)

func (s *testSuiteJoin2) TestIndexLookupMergeJoinHang(c *C) {
func (s *testSerialSuite) TestIndexLookupMergeJoinHang(c *C) {
c.Assert(failpoint.Enable("github.com/pingcap/tidb/executor/IndexMergeJoinMockOOM", `return(true)`), IsNil)
defer func() {
c.Assert(failpoint.Disable("github.com/pingcap/tidb/executor/IndexMergeJoinMockOOM"), IsNil)
Expand All @@ -28,7 +28,7 @@ func (s *testSuiteJoin2) TestIndexLookupMergeJoinHang(c *C) {
c.Assert(err.Error(), Equals, "OOM test index merge join doesn't hang here.")
}

func (s *testSuite9) TestIssue18068(c *C) {
func (s *testSerialSuite) TestIssue18068(c *C) {
c.Assert(failpoint.Enable("github.com/pingcap/tidb/executor/testIssue18068", `return(true)`), IsNil)
defer func() {
c.Assert(failpoint.Disable("github.com/pingcap/tidb/executor/testIssue18068"), IsNil)
Expand Down

0 comments on commit 749a99c

Please sign in to comment.