Lower UsageNanoCores boundary in summary api test.

Signed-off-by: Lantao Liu <lantaol@google.com>
pull/8/head
Lantao Liu 2018-04-17 18:37:51 -07:00
parent 74c6632c97
commit 002483fe72
1 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
"StartTime": recent(maxStartAge), "StartTime": recent(maxStartAge),
"CPU": ptrMatchAllFields(gstruct.Fields{ "CPU": ptrMatchAllFields(gstruct.Fields{
"Time": recent(maxStatsAge), "Time": recent(maxStatsAge),
"UsageNanoCores": bounded(100000, 1E9), "UsageNanoCores": bounded(10000, 1E9),
"UsageCoreNanoSeconds": bounded(10000000, 1E11), "UsageCoreNanoSeconds": bounded(10000000, 1E11),
}), }),
"Memory": ptrMatchAllFields(gstruct.Fields{ "Memory": ptrMatchAllFields(gstruct.Fields{
@ -222,7 +222,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
}), }),
"CPU": ptrMatchAllFields(gstruct.Fields{ "CPU": ptrMatchAllFields(gstruct.Fields{
"Time": recent(maxStatsAge), "Time": recent(maxStatsAge),
"UsageNanoCores": bounded(100000, 1E9), "UsageNanoCores": bounded(10000, 1E9),
"UsageCoreNanoSeconds": bounded(10000000, 1E11), "UsageCoreNanoSeconds": bounded(10000000, 1E11),
}), }),
"Memory": ptrMatchAllFields(gstruct.Fields{ "Memory": ptrMatchAllFields(gstruct.Fields{