overlord: test: properly clean up when test failed in the setup stage

When WaitFor failed in setUp(), tearDown() will not be called and thus
overlord and ghost will still be running in the background. Call
tearDown() manually when this happens.

BUG=none
TEST=`go/src/overlord/test/overlord_e2e_unittest.py`

Change-Id: I6cb6c489078b50c226536d29c9d23c1270eeb51c
Reviewed-on: https://chromium-review.googlesource.com/320070
Commit-Ready: Wei-Ning Huang <wnhuang@chromium.org>
Tested-by: Wei-Ning Huang <wnhuang@chromium.org>
Reviewed-by: Wei-Han Chen <stimim@chromium.org>
1 file changed