Skip to content

Commit

Permalink
modify canServe and make motanV1Compatible compatible with motan2, mo…
Browse files Browse the repository at this point in the history
…tan and motanV1Compatible
  • Loading branch information
liangwei3 committed Apr 8, 2024
1 parent 7431d3c commit fe3b016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lb/weightRoundRobinLb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func TestWeightRingSelector(t *testing.T) {
maxRatio := 0.4
avgRatio := 0.1
checkKWR(t, lb, 46, 75, round, float64(round)*maxRatio, float64(round)*avgRatio, 5, url)
//checkKWR(t, lb, 231, 31, round, float64(round)*maxRatio, float64(round)*avgRatio, 35, url)
checkKWR(t, lb, 231, 31, round, float64(round)*maxRatio, float64(round)*avgRatio, 35, url)
maxRatio = 0.6
//checkKWR(t, lb, 211, 31, round, float64(round)*maxRatio, float64(round)*avgRatio, 45, url)
lb.Destroy()
Expand Down

0 comments on commit fe3b016

Please sign in to comment.