[roll] Roll fuchsia [forensics] Add promise timeout utility

Adds a utility function that allows users to specify a timeout duration
for the promise passed to MakePromiseTimeout. Promises with a timeout
must have an error type of forensics::Error.

This code is not yet used, but will first be used to timeout if
acquiring a wake lease takes too long.

Original-Bug: 333110044
Tested: `fx test promise_timeout_unittest`
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1060984
Original-Revision: f2a7cb22b39b07ef6b76f166717dd116e92a2c0e
GitOrigin-RevId: d010ddc9f2c9ada607edf20cbb5bafbc329d7935
Change-Id: I21be5691056889e7e27e9650bf052b056f07522e
1 file changed
tree: 0807dd75309c77e1f93d777688a7c727ed9f2817
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.