Skip to content

Commit

Permalink
Update dm/dm/master/openapi_view_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Obliviate <756541536@qq.com>
  • Loading branch information
WizardXiao and buchuitoudegou authored May 18, 2022
1 parent e07661b commit 2d3c939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm/dm/master/openapi_view_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ func (s *OpenAPIViewSuite) TestReverseRequestToLeader() {
s.Len(resultListSource.Data, 0)
s.Equal(0, resultListSource.Total)

// list source not from leader will get result too
// list source from non-leader will get result too
result, err := HTTPTestWithTestResponseRecorder(testutil.NewRequest().Get(baseURL), s2.openapiHandles)
s.NoError(err)
s.Equal(http.StatusOK, result.Code())
Expand Down

0 comments on commit 2d3c939

Please sign in to comment.