fix: correct metrics expression

This commit is contained in:
fengzixu
2021-10-24 15:59:32 +09:00
parent d71e21e01e
commit bab1755274
4 changed files with 10 additions and 7 deletions

View File

@@ -230,6 +230,9 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() {
"test-empty-dir": gstruct.MatchAllFields(gstruct.Fields{
"Name": gomega.Equal("test-empty-dir"),
"PVCRef": gomega.BeNil(),
"VolumeHealthStats": gstruct.MatchAllFields(gstruct.Fields{
"Abnormal": gomega.BeTrue(),
}),
"FsStats": gstruct.MatchAllFields(gstruct.Fields{
"Time": recent(maxStatsAge),
"AvailableBytes": fsCapacityBounds,