fix: [skip-e2e][2.4] Fix unstable policy_test (#32884)

See also: #32849
pr: #32850

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/32893/head
XuanYang-cn 2024-05-09 15:39:40 +08:00 committed by GitHub
parent 1f11bc484d
commit 843d2c0da1
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": 1})},
{2, getChannels(map[string]int64{"ch-4": 1, "ch-5": 1, "ch-6": 4})},
{NodeID: 3, Channels: map[string]RWChannel{}},
}
}