e2e_node: fix node-kubelet-benchmark test

e2e_node tests trigger OOM events on COS versions > 73-11636-0-0
possibly because of this change in the COS v.73-11636-0-0:
 Made containerd run as a standalone systemd service

OOM killer usually kills cadvisor and e2e_node.test processes
causing node-kubelet-benchmark failures.

Decreasing amount of pods from 105 to 90 frees enough memory for
the test to succeed.
This commit is contained in:
Ed Bartosh 2020-06-05 12:51:45 +03:00
parent 3fc7831cd8
commit fa31c2c59c

View File

@ -126,7 +126,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() {
interval: 0 * time.Millisecond, interval: 0 * time.Millisecond,
}, },
{ {
podsNr: 105, podsNr: 90,
interval: 0 * time.Millisecond, interval: 0 * time.Millisecond,
}, },
{ {
@ -138,7 +138,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() {
interval: 100 * time.Millisecond, interval: 100 * time.Millisecond,
}, },
{ {
podsNr: 105, podsNr: 90,
interval: 100 * time.Millisecond, interval: 100 * time.Millisecond,
}, },
{ {
@ -150,7 +150,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() {
interval: 300 * time.Millisecond, interval: 300 * time.Millisecond,
}, },
{ {
podsNr: 105, podsNr: 90,
interval: 300 * time.Millisecond, interval: 300 * time.Millisecond,
}, },
} }
@ -176,17 +176,17 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() {
ginkgo.Context("create a batch of pods with higher API QPS", func() { ginkgo.Context("create a batch of pods with higher API QPS", func() {
dTests := []densityTest{ dTests := []densityTest{
{ {
podsNr: 105, podsNr: 90,
interval: 0 * time.Millisecond, interval: 0 * time.Millisecond,
APIQPSLimit: 60, APIQPSLimit: 60,
}, },
{ {
podsNr: 105, podsNr: 90,
interval: 100 * time.Millisecond, interval: 100 * time.Millisecond,
APIQPSLimit: 60, APIQPSLimit: 60,
}, },
{ {
podsNr: 105, podsNr: 90,
interval: 300 * time.Millisecond, interval: 300 * time.Millisecond,
APIQPSLimit: 60, APIQPSLimit: 60,
}, },