Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildEnvForClustersWithDistribute (0.65 sec)

  1. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    							"region1/zone1/subzone3": 5,
    						},
    					},
    				},
    				expected: []int{40, 40, 15, 5, 0, 0, 0},
    			},
    		}
    		for _, tt := range tests {
    			t.Run(tt.name, func(t *testing.T) {
    				env := buildEnvForClustersWithDistribute(tt.distribute)
    				cluster := buildFakeCluster()
    				ApplyLocalityLoadBalancer(cluster.LoadAssignment, nil, locality, nil, env.Mesh().LocalityLbSetting, true)
    				weights := make([]int, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
Back to top