mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Lower UsageNanoCores boundary in summary api test.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
74c6632c97
commit
002483fe72
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user