test: Update summary test to check for process count

The process count is expected to always be >= 1 for pods in the test.

Let's check it's >= 1, so we can catch issues if the proecss count is
not reported.

Signed-off-by: David Porter <david@porter.me>
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
This commit is contained in:
David Porter
2023-01-19 15:15:24 -08:00
committed by Peter Hunt
parent f58b46cb97
commit 6e6b2b76a3
3 changed files with 9 additions and 10 deletions

View File

@@ -259,7 +259,7 @@ var _ = SIGDescribe("Summary API", framework.WithNodeConformance(), func() {
"InodesUsed": bounded(0, 1e8),
}),
"ProcessStats": ptrMatchAllFields(gstruct.Fields{
"ProcessCount": bounded(0, 1e8),
"ProcessCount": bounded(1, 1e8),
}),
})