set larger pod creation latency limit

This commit is contained in:
Zhou Fang 2016-08-09 16:13:09 -07:00
parent e9c1cb9b78
commit e052fd949b

View File

@ -73,6 +73,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() {
}) })
Context("create a batch of pods", func() { Context("create a batch of pods", func() {
// Zhou(ToDo): add more tests and the values are generous, set more precise limits after benchmark
densityTests := []DensityTest{ densityTests := []DensityTest{
{ {
podsNr: 10, podsNr: 10,
@ -87,8 +88,8 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() {
}, },
// percentile limit of single pod startup latency // percentile limit of single pod startup latency
podStartupLimits: framework.LatencyMetric{ podStartupLimits: framework.LatencyMetric{
Perc50: 10 * time.Second, Perc50: 16 * time.Second,
Perc90: 15 * time.Second, Perc90: 18 * time.Second,
Perc99: 20 * time.Second, Perc99: 20 * time.Second,
}, },
// upbound of startup latency of a batch of pods // upbound of startup latency of a batch of pods
@ -191,6 +192,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() {
}) })
Context("create a sequence of pods", func() { Context("create a sequence of pods", func() {
// Zhou(ToDo): add more tests and the values are generous, set more precise limits after benchmark
densityTests := []DensityTest{ densityTests := []DensityTest{
{ {
podsNr: 10, podsNr: 10,