mirror of https://github.com/milvus-io/milvus.git
fix: [skip-e2e] Fix AvgAssignByCount unstable (#32850)
See also: #32849 Signed-off-by: yangxuan <xuan.yang@zilliz.com>pull/32732/head
parent
17a79f4ca9
commit
0b0d279515
internal/datacoord
|
@ -467,8 +467,8 @@ func TestAssignByCountPolicySuite(t *testing.T) {
|
||||||
|
|
||||||
func (s *AssignByCountPolicySuite) SetupSubTest() {
|
func (s *AssignByCountPolicySuite) SetupSubTest() {
|
||||||
s.curCluster = []*NodeChannelInfo{
|
s.curCluster = []*NodeChannelInfo{
|
||||||
{1, getChannels(map[string]int64{"ch-1": 1, "ch2": 1, "ch-2": 2})},
|
{1, getChannels(map[string]int64{"ch-1": 1, "ch-2": 1, "ch-3": 2})},
|
||||||
{2, getChannels(map[string]int64{"ch-3": 1, "ch2": 1, "ch-4": 4})},
|
{2, getChannels(map[string]int64{"ch-3": 1, "ch-4": 1, "ch-5": 4})},
|
||||||
{NodeID: 3, Channels: map[string]RWChannel{}},
|
{NodeID: 3, Channels: map[string]RWChannel{}},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue