Merge "Stabilize test: test_auth_empty_auth_token_file"
diff --git a/emu_test/utils/emu_testcase.py b/emu_test/utils/emu_testcase.py
index 60e785c..21d24ee 100644
--- a/emu_test/utils/emu_testcase.py
+++ b/emu_test/utils/emu_testcase.py
@@ -172,7 +172,11 @@
self.m_logger.info('No emulator found, stopping logcat')
break
if (logcat_proc):
+ try:
logcat_proc.terminate()
+ except:
+ # Could not terminate logcat; probably already dead.
+ pass
def readoutput_in_thread():
with open(verbose_log_path, 'a') as verb_output: