Merge pull request #14553 from cevich/fix_eventually

Fix Remote filtering embedded directory test
This commit is contained in:
OpenShift Merge Robot
2022-06-09 15:51:16 -04:00
committed by GitHub

View File

@ -555,7 +555,7 @@ subdir**`
dd := exec.Command("dd", "if=/dev/random", "of="+randomFile, "bs=1G", "count=1")
ddSession, err := Start(dd, GinkgoWriter, GinkgoWriter)
Expect(err).ToNot(HaveOccurred())
Eventually(ddSession).Should(Exit(0))
Eventually(ddSession, "10s", "1s").Should(Exit(0))
// make cwd as context root path
Expect(os.Chdir(contextDir)).ToNot(HaveOccurred())