Merge pull request #113263 from andrewsykim/fix-flaky-flowcontrol-queueset-test

[Flaky test] fix floating point precision error in TestDifferentWidths
This commit is contained in:
Kubernetes Prow Robot 2023-02-16 11:45:37 -08:00 committed by GitHub
commit 7d681c96a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -834,7 +834,7 @@ func TestDifferentWidths(t *testing.T) {
concurrencyLimit: 6, concurrencyLimit: 6,
evalDuration: time.Second * 20, evalDuration: time.Second * 20,
expectedFair: []bool{true}, expectedFair: []bool{true},
expectedFairnessMargin: []float64{0.15}, expectedFairnessMargin: []float64{0.155},
expectAllRequests: true, expectAllRequests: true,
evalInqueueMetrics: true, evalInqueueMetrics: true,
evalExecutingMetrics: true, evalExecutingMetrics: true,