commit | 44e3c3363c42f2101e1db8302ef2d1d7bfb84e57 | [log] [tgz] |
---|---|---|
author | Annie Meng <anniemeng@google.com> | Wed Feb 27 17:30:04 2019 +0000 |
committer | Annie Meng <anniemeng@google.com> | Wed Feb 27 17:30:04 2019 +0000 |
tree | 7311a5745503f9bfada0aa4b280ac0602dfed7d7 | |
parent | 2309abc90f4588a3b7e62c17f76632c7c09977c0 [diff] |
[CTS] Fix tearDown() in multi-user tests for assumption failures tearDown() executes even if assumption failures occur in setUp(). We need to check if state is defined from setUp(), otherwise we throw errors if the test device fails an assumption (like multi-user support). Bug: 126388561 Test: atest CtsBackupHostTestCases (with and without multi-user support). Change-Id: I388af4daa33e4fa620f8042be94aad515ca500ed