mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
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:
commit
aca523f586
@ -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