*: Simplify test time advancement

AdvanceUntilNextExpiration() rather than AdvanceTime(some_interval)
avoids the need to fruitlessly loop over time periods during which
nothing happens. This also avoids the need to specify an arbitrary
interval with which to advance time.

Change-Id: Ib071bfce5f877c29871f8d053b8c2a0319f8c3da
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/235792
Reviewed-by: Aaron Green <aarongreen@google.com>
Pigweed-Auto-Submit: Taylor Cramer <cramertj@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
2 files changed
tree: 1707edecfef4b91649bcb48ba434a02fe4aeffe5
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.