mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
increase timeout and marked as flaky. decreased polling interval to better monitor eviction ordering
This commit is contained in:
parent
74de0fdb63
commit
0ec482308e
@ -32,13 +32,13 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
postTestConditionMonitoringPeriod = 2 * time.Minute
|
postTestConditionMonitoringPeriod = 2 * time.Minute
|
||||||
evictionPollInterval = 5 * time.Second
|
evictionPollInterval = 2 * time.Second
|
||||||
// pressure conditions often surface after evictions because of delay in propegation of metrics to pressure
|
// pressure conditions often surface after evictions because of delay in propegation of metrics to pressure
|
||||||
// we wait this period after evictions to make sure that we wait out this delay
|
// we wait this period after evictions to make sure that we wait out this delay
|
||||||
pressureDelay = 20 * time.Second
|
pressureDelay = 20 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = framework.KubeDescribe("InodeEviction [Slow] [Serial] [Disruptive]", func() {
|
var _ = framework.KubeDescribe("InodeEviction [Slow] [Serial] [Disruptive] [Flaky]", func() {
|
||||||
f := framework.NewDefaultFramework("inode-eviction-test")
|
f := framework.NewDefaultFramework("inode-eviction-test")
|
||||||
|
|
||||||
podTestSpecs := []podTestSpec{
|
podTestSpecs := []podTestSpec{
|
||||||
@ -109,7 +109,7 @@ var _ = framework.KubeDescribe("InodeEviction [Slow] [Serial] [Disruptive]", fun
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
evictionTestTimeout := 10 * time.Minute
|
evictionTestTimeout := 60 * time.Minute
|
||||||
testCondition := "Disk Pressure due to Inodes"
|
testCondition := "Disk Pressure due to Inodes"
|
||||||
|
|
||||||
runEvictionTest(f, testCondition, podTestSpecs, evictionTestTimeout, hasInodePressure)
|
runEvictionTest(f, testCondition, podTestSpecs, evictionTestTimeout, hasInodePressure)
|
||||||
|
Loading…
Reference in New Issue
Block a user