Skip to content

Commit

Permalink
Resolve the conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <ghzpotato@gmail.com>
  • Loading branch information
JmPotato committed Aug 5, 2024
1 parent 456fa93 commit 9f100ce
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/integrations/client/http_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -451,15 +451,11 @@ func (suite *httpClientTestSuite) checkRegionLabel(mode mode, client pd.Client)
re.Equal(labelRule.ID, allLabelRules[1].ID)
re.Equal(labelRule.Labels, allLabelRules[1].Labels)
re.Equal(labelRule.RuleType, allLabelRules[1].RuleType)
<<<<<<< HEAD
labelRules, err = client.GetRegionLabelRulesByIDs(env.ctx, []string{"keyspaces/0", "rule2"})
=======
labelRules, err = client.GetRegionLabelRulesByIDs(ctx, []string{"rule2"})
labelRules, err = client.GetRegionLabelRulesByIDs(env.ctx, []string{"rule2"})
re.NoError(err)
re.Len(labelRules, 1)
re.Equal(labelRule, labelRules[0])
labelRules, err = client.GetRegionLabelRulesByIDs(ctx, []string{"keyspaces/0", "rule2"})
>>>>>>> 838ee7983 (client/http: fix the URI of GetRegionLabelRulesByIDs (#8490))
labelRules, err = client.GetRegionLabelRulesByIDs(env.ctx, []string{"keyspaces/0", "rule2"})
re.NoError(err)
sort.Slice(labelRules, func(i, j int) bool {
return labelRules[i].ID < labelRules[j].ID
Expand Down

0 comments on commit 9f100ce

Please sign in to comment.