commit | 02e17bdaf9ac82e93932e1aef1bf78eddb90442d | [log] [tgz] |
---|---|---|
author | Steffen Meschkat <mesch@google.com> | Wed Dec 12 09:06:45 2018 -0800 |
committer | Steffen Meschkat <mesch@google.com> | Fri Dec 14 23:09:30 2018 -0800 |
tree | 74d8f162bda6baca9d67be91dec399615b1451eb | |
parent | 8918d0efc35d5994747fdee76eda06a314c7b033 [diff] |
[session_shell] Time out on slow SessionShell DetachView() must not block the Stop() operation indefinitely. The StopOperation must time out when DetachView() takes too long. Added a test case to test the behavior. Unfortunate about tests for timeout behavior is they need the time until out to elapse, i.e. such a test is slow. In this case, the timeout in question is 1 second, which is bearable. Also changed the behavior such that on logout, no DetachView() calls are made for stories that are still running, in accordance with the behavior documented in session_shell.fidl. Added a test case for that too. TESTED=Added test cases to session_shell integration test. MF-121 #comment Time out on slow SessionShell. Change-Id: Iaaec29df7d6edb2fb8ce5269ff1c02d423f19555
Peridot is a framework for composed, intelligent and distributed user experiences.
Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.
State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.