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:
@@ -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),
|
||||
}),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user