Skip to content

Commit

Permalink
fix: [skip-e2e] Fix unstable policy_test
Browse files Browse the repository at this point in the history
See also: milvus-io#32849

Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn committed May 9, 2024
1 parent a06f601 commit 7d0f204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/datacoord/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ func TestAssignByCountPolicySuite(t *testing.T) {

func (s *AssignByCountPolicySuite) SetupSubTest() {
s.curCluster = []*NodeChannelInfo{
{1, getChannels(map[string]int64{"ch-1": 1, "ch-2": 1, "ch-3": 2})},
{2, getChannels(map[string]int64{"ch-3": 1, "ch-4": 1, "ch-5": 4})},
{1, getChannels(map[string]int64{"ch-1": 1, "ch-2": 1, "ch-3": 1})},
{2, getChannels(map[string]int64{"ch-4": 1, "ch-5": 1, "ch-6": 4})},
{NodeID: 3, Channels: map[string]RWChannel{}},
}
}
Expand Down

0 comments on commit 7d0f204

Please sign in to comment.