services/device/deviced/internal/impl/utiltest: remove source of Stop flakiness

There's a race between the app calling ShutdownOnSignals and the device
manager sending the app cycle manager a remote stop (which the test
logic may do after waiting for the ping). If the latter wins, the app
exits immediately since there's no signal listener registered.  To
remove the race, we first register a shutdown listener before calling ping.

Change-Id: Ide2d04d82c45ae7cb9f051fcf9f764b6d478ae18
1 file changed
tree: a5ee1d3c9f84f4224390384747ae1b961317cc7c
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

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.