Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <nolouch@gmail.com>
  • Loading branch information
nolouch committed Jun 30, 2023
1 parent 24bb86f commit ec59e99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ func bootstrapServer(c *C, header *pdpb.RequestHeader, client pdpb.PDClient) {
Store: stores[0],
Region: region,
}
req, err := client.Bootstrap(context.Background(), req)
resp, err := client.Bootstrap(context.Background(), req)
c.Assert(err, IsNil)
c.Assert(pdpb.ErrorType_OK, Equals, resp.GetHeader().GetError().GetType())
}
Expand Down
2 changes: 1 addition & 1 deletion tests/compatibility/version_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (s *compatibilityTestSuite) TestStoreRegister(c *C) {
},
}
resp, err := svr.PutStore(context.Background(), putStoreRequest)
c.Assert(err, NotNil)
c.Assert(err, IsNil)
c.Assert(len(resp.GetHeader().GetError().String()) > 0, IsTrue)
}

Expand Down

0 comments on commit ec59e99

Please sign in to comment.