Tweak summary test memory expectations

pull/6/head
Tim St. Clair 2016-10-04 10:16:53 -07:00
parent 96fde0fe8d
commit 7b9b0ae297
No known key found for this signature in database
GPG Key ID: 434D16BCEF479EAB
1 changed files with 4 additions and 4 deletions

View File

@ -69,9 +69,9 @@ var _ = framework.KubeDescribe("Summary API [Flaky]", func() {
"Time": recent(maxStatsAge),
// We don't limit system container memory.
"AvailableBytes": BeNil(),
"UsageBytes": bounded(5*mb, 1*gb),
"WorkingSetBytes": bounded(5*mb, 1*gb),
"RSSBytes": bounded(5*mb, 1*gb),
"UsageBytes": bounded(1*mb, 1*gb),
"WorkingSetBytes": bounded(1*mb, 1*gb),
"RSSBytes": bounded(1*mb, 1*gb),
"PageFaults": bounded(1000, 1E9),
"MajorPageFaults": bounded(0, 100000),
}),
@ -96,7 +96,7 @@ var _ = framework.KubeDescribe("Summary API [Flaky]", func() {
"Memory": ptrMatchAllFields(gstruct.Fields{
"Time": recent(maxStatsAge),
"AvailableBytes": bounded(1*mb, 10*mb),
"UsageBytes": bounded(10*kb, mb),
"UsageBytes": bounded(10*kb, 5*mb),
"WorkingSetBytes": bounded(10*kb, mb),
"RSSBytes": bounded(1*kb, mb),
"PageFaults": bounded(100, 100000),