From bc015df96289b654de385746117fca83cc2fbc93 Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Thu, 9 May 2024 15:39:40 +0800 Subject: [PATCH] fix: [skip-e2e] Fix unstable policy_test (#32883) See also: #32849 Signed-off-by: yangxuan --- internal/datacoord/policy_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/datacoord/policy_test.go b/internal/datacoord/policy_test.go index 698967ad27..85fa80b62b 100644 --- a/internal/datacoord/policy_test.go +++ b/internal/datacoord/policy_test.go @@ -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{}}, } }