Merge pull request #94482 from oomichi/expect_no_error-2

Use ExpectNoError(err) for some e2e tests
This commit is contained in:
Kubernetes Prow Robot
2020-09-15 18:27:19 -07:00
committed by GitHub
8 changed files with 25 additions and 22 deletions

View File

@@ -327,7 +327,7 @@ var _ = SIGDescribe("HugePages [Serial] [Feature:HugePages][NodeSpecialFeature:H
ginkgo.By("checking if the expected hugetlb settings were applied")
f.PodClient().Create(verifyPod)
err := e2epod.WaitForPodSuccessInNamespace(f.ClientSet, verifyPod.Name, f.Namespace.Name)
gomega.Expect(err).To(gomega.BeNil())
framework.ExpectNoError(err)
}
})
}