Commit aca523f5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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
parents 64165483 0ec48230
...@@ -32,13 +32,13 @@ import ( ...@@ -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 ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment