Skip to content

Commit c853061

Browse files
authored
fix: loose the weight offset (#7516)
loose the weight offset Signed-off-by: Huabing Zhao <[email protected]>
1 parent f609278 commit c853061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/tests/weighted_backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func testMixedValidAndInvalid(t *testing.T, suite *suite.ConformanceTestSuite) {
168168
}
169169
}
170170

171-
if !AlmostEquals(successCount, 40, 3) { // The weight of valid backend is 80%, so the expected success count is 50*80%=40
171+
if !AlmostEquals(successCount, 40, 5) { // The weight of valid backend is 80%, so the expected success count is 50*80%=40
172172
t.Errorf("The actual success count is not within the expected range, success %d", successCount)
173173
}
174174
}

0 commit comments

Comments
 (0)