fix typo in e2e test

This commit is contained in:
qingsenLi
2020-10-24 15:53:22 +08:00
parent 5935fcd704
commit c4d0191466
2 changed files with 9 additions and 9 deletions

View File

@@ -113,10 +113,10 @@ var _ = framework.KubeDescribe("SystemNodeCriticalPod [Slow] [Serial] [Disruptiv
ginkgo.By("making sure that node no longer has DiskPressure")
gomega.Eventually(func() error {
if hasNodeCondition(f, v1.NodeDiskPressure) {
return fmt.Errorf("Conditions havent returned to normal, node still has DiskPressure")
return fmt.Errorf("Conditions haven't returned to normal, node still has DiskPressure")
}
return nil
}, pressureDissapearTimeout, evictionPollInterval).Should(gomega.BeNil())
}, pressureDisappearTimeout, evictionPollInterval).Should(gomega.BeNil())
})
})
})