commit | 67ce22c57b51e7e41c667f51ad3de73cffbeb799 | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Tue Oct 22 14:55:54 2019 +0100 |
committer | Gavin Corkery <gavincorkery@google.com> | Tue Oct 22 14:55:54 2019 +0100 |
tree | 7b703479c3cc18914b4435af6726712735abcc6c | |
parent | 7825637f80138800eb3bb5901d056a2ef4f03646 [diff] |
Don't mark terminal staged sessions as failed Currently we mark sessions in an already-terminal state (applied or failed) as failed when there is a build fingerprint change. This can cause issues with trying to clean a non-existent directory. Change this logic to check the status of the session when marking as failed. Test: atest StagedInstallTest Bug: 142963471 Change-Id: I163a3c6558117455038608e15065e076e2dd82d2