commit | 52ff4f82d8245a5fee8d88abf4812c2e39f36d61 | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Fri Aug 28 09:53:07 2015 -0700 |
committer | Bogdan Caprita <caprita@google.com> | Fri Aug 28 09:53:07 2015 -0700 |
tree | 231637e3cb63d486c3d7d7b015cd7f106e24ff6c | |
parent | 96f300a174a7bdc3b0d9c8d652c4f37acef57220 [diff] |
services/device/deviced/internal/impl: fix restart policy and test Change the logic in the restart policy implementation to match the documentation: we should reset the restart time window with each restart. Add a test case in the unit test to capture this behavior; also fix the unit test comparison logic to correctly evaluate the RestartWindowBegan field (it was always passing before). As a consequence of fixing the comparison logic, a test case needed updating. Unrelated: add the app instance version's envelope in the Debug output for convenience and add a couple todos for some issues noticed. Change-Id: Idb6072354ad7f3920d9dd07fe30203a3596d6f43
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.