Commit 3cf04a66 authored by Rohit Jnagal's avatar Rohit Jnagal

Merge pull request #6501 from jayunit100/shell-loc-log

Use ginkoRecover to prevent shell.go from causing cryptic crash when run...
parents c1ef9be2 326b21e6
......@@ -33,11 +33,13 @@ var (
)
var _ = Describe("Shell", func() {
defer GinkgoRecover()
// Slurp up all the tests in hack/e2e-suite
bashE2ERoot := filepath.Join(root, "hack/e2e-suite")
files, err := ioutil.ReadDir(bashE2ERoot)
if err != nil {
Fail(err.Error())
Fail(fmt.Sprintf("Error reading test suites from %v %v", bashE2ERoot, err.Error()))
}
for _, file := range files {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment