mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #106533 from haircommander/summary-page-fault-test
test: update major page fault values for summary test
This commit is contained in:
commit
c3e6b66643
@ -116,7 +116,7 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() {
|
||||
})
|
||||
}
|
||||
expectedPageFaultsUpperBound := 1000000
|
||||
expectedMajorPageFaultsUpperBound := 10
|
||||
expectedMajorPageFaultsUpperBound := 15
|
||||
if IsCgroup2UnifiedMode() {
|
||||
// On cgroupv2 these stats are recursive, so make sure they are at least like the value set
|
||||
// above for the container.
|
||||
@ -200,8 +200,8 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() {
|
||||
"UsageBytes": bounded(10*e2evolume.Kb, 80*e2evolume.Mb),
|
||||
"WorkingSetBytes": bounded(10*e2evolume.Kb, 80*e2evolume.Mb),
|
||||
"RSSBytes": bounded(1*e2evolume.Kb, 80*e2evolume.Mb),
|
||||
"PageFaults": bounded(100, 1000000),
|
||||
"MajorPageFaults": bounded(0, 10),
|
||||
"PageFaults": bounded(100, expectedPageFaultsUpperBound),
|
||||
"MajorPageFaults": bounded(0, expectedMajorPageFaultsUpperBound),
|
||||
}),
|
||||
"Accelerators": gomega.BeEmpty(),
|
||||
"Rootfs": ptrMatchAllFields(gstruct.Fields{
|
||||
@ -247,8 +247,8 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() {
|
||||
"UsageBytes": bounded(10*e2evolume.Kb, 80*e2evolume.Mb),
|
||||
"WorkingSetBytes": bounded(10*e2evolume.Kb, 80*e2evolume.Mb),
|
||||
"RSSBytes": bounded(1*e2evolume.Kb, 80*e2evolume.Mb),
|
||||
"PageFaults": bounded(0, 1000000),
|
||||
"MajorPageFaults": bounded(0, 10),
|
||||
"PageFaults": bounded(0, expectedPageFaultsUpperBound),
|
||||
"MajorPageFaults": bounded(0, expectedMajorPageFaultsUpperBound),
|
||||
}),
|
||||
"VolumeStats": gstruct.MatchAllElements(summaryObjectID, gstruct.Elements{
|
||||
"test-empty-dir": gstruct.MatchAllFields(gstruct.Fields{
|
||||
|
Loading…
Reference in New Issue
Block a user