mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Widen margins of TestDifferentWidths and TestTooWide
These behavioral unit tests of queueset were failing because the evaluation criteria were too strict.
This commit is contained in:
parent
73453e473b
commit
59d319ec06
@ -696,7 +696,7 @@ func TestDifferentWidths(t *testing.T) {
|
||||
concurrencyLimit: 6,
|
||||
evalDuration: time.Second * 20,
|
||||
expectedFair: []bool{true},
|
||||
expectedFairnessMargin: []float64{0.1},
|
||||
expectedFairnessMargin: []float64{0.16},
|
||||
expectAllRequests: true,
|
||||
evalInqueueMetrics: true,
|
||||
evalExecutingMetrics: true,
|
||||
@ -735,7 +735,7 @@ func TestTooWide(t *testing.T) {
|
||||
concurrencyLimit: 6,
|
||||
evalDuration: time.Second * 40,
|
||||
expectedFair: []bool{true},
|
||||
expectedFairnessMargin: []float64{0.35},
|
||||
expectedFairnessMargin: []float64{0.38},
|
||||
expectAllRequests: true,
|
||||
evalInqueueMetrics: true,
|
||||
evalExecutingMetrics: true,
|
||||
|
Loading…
Reference in New Issue
Block a user