Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Aug 27, 2024
1 parent 5845e7c commit 614c246
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions server/api/label_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,10 @@ import (
"github.com/pingcap/kvproto/pkg/metapb"
"github.com/pingcap/kvproto/pkg/pdpb"
"github.com/stretchr/testify/suite"
<<<<<<< HEAD
tu "github.com/tikv/pd/pkg/testutil"
=======
"github.com/tikv/pd/pkg/core"
"github.com/tikv/pd/pkg/response"
tu "github.com/tikv/pd/pkg/utils/testutil"
>>>>>>> c8ad186c3 (server: skip the engine key when match store label (#8486))
"github.com/tikv/pd/server"
"github.com/tikv/pd/server/config"
"github.com/tikv/pd/server/core"
)

type labelsStoreTestSuite struct {
Expand Down Expand Up @@ -318,7 +313,7 @@ func (suite *strictlyLabelsStoreTestSuite) TestStoreMatch() {
},
})
if testCase.store.Address == "tiflash1" {
re.Contains(resp.GetHeader().GetError().String(), testCase.expectError)
suite.Contains(resp.GetHeader().GetError().String(), testCase.expectError)
continue
}
if testCase.valid {
Expand Down

0 comments on commit 614c246

Please sign in to comment.