fix: [skip-e2e] Fix AvgAssignByCount unstable (#32850)

See also: #32849

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/32732/head
XuanYang-cn 2024-05-08 19:09:35 +08:00 committed by GitHub
parent 17a79f4ca9
commit 0b0d279515
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -467,8 +467,8 @@ func TestAssignByCountPolicySuite(t *testing.T) {
func (s *AssignByCountPolicySuite) SetupSubTest() {
s.curCluster = []*NodeChannelInfo{
{1, getChannels(map[string]int64{"ch-1": 1, "ch2": 1, "ch-2": 2})},
{2, getChannels(map[string]int64{"ch-3": 1, "ch2": 1, "ch-4": 4})},
{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})},
{NodeID: 3, Channels: map[string]RWChannel{}},
}
}