e2e: use framework.ExpectEqual() for test/e2e/node

This commit is contained in:
SataQiu
2019-07-04 20:21:04 +08:00
parent f978c4cab5
commit 03e4527a87
4 changed files with 7 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ var _ = SIGDescribe("NodeProblemDetector [DisabledForLargeClusters]", func() {
}
}
}
gomega.Expect(len(hosts)).To(gomega.Equal(len(nodes.Items)))
framework.ExpectEqual(len(hosts), len(nodes.Items))
isStandaloneMode := make(map[string]bool)
cpuUsageStats := make(map[string][]float64)