Merge pull request #38664 from dashpole/flaky_inode

Automatic merge from submit-queue

Inode Eviction Test is Flaky

This Pull Request:
Marks the InodeEviciton test as flaky
Increases the timeout for disk pressure because coreos has nearly 2 million inodes.
Decreases the status polling interval so we can see eviction ordering better.
@Random-Liu
This commit is contained in:
Kubernetes Submit Queue 2016-12-13 16:22:40 -08:00 committed by GitHub
commit aca523f586

View File

@ -32,13 +32,13 @@ import (
const (
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
// we wait this period after evictions to make sure that we wait out this delay
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")
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"
runEvictionTest(f, testCondition, podTestSpecs, evictionTestTimeout, hasInodePressure)