Skip to content

Commit

Permalink
server: try to make test TestAllServerInfo stable (pingcap#19257)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycs520 authored Aug 18, 2020
1 parent d0600fc commit 04b7492
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/http_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ type HTTPHandlerTestSerialSuite struct {
*basicHTTPHandlerTestSuite
}

var _ = Suite(&HTTPHandlerTestSuite{
&basicHTTPHandlerTestSuite{testServerClient: newTestServerClient()},
})
var _ = Suite(&HTTPHandlerTestSuite{&basicHTTPHandlerTestSuite{}})

var _ = SerialSuites(&HTTPHandlerTestSerialSuite{
&basicHTTPHandlerTestSuite{testServerClient: newTestServerClient()},
})
var _ = SerialSuites(&HTTPHandlerTestSerialSuite{&basicHTTPHandlerTestSuite{}})

func (ts *basicHTTPHandlerTestSuite) SetUpSuite(c *C) {
ts.testServerClient = newTestServerClient()
}

func (ts *HTTPHandlerTestSuite) TestRegionIndexRange(c *C) {
sTableID := int64(3)
Expand Down

0 comments on commit 04b7492

Please sign in to comment.