fix e2e test

This commit is contained in:
fengzixu 2021-11-26 11:20:13 +09:00
parent ed7fd0ced5
commit f202164c87

View File

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