tree: dd26f5a76baf3b7e20f2175d1115a62168e7bc6a [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. cm_config.json
  4. componentmanager.test.fidl
  5. integration_test.rs
  6. maintainer.rs
  7. README.md
  8. time_client.rs
src/sys/component_manager/tests/utc-time/README.md

utc-time-tests

This test verifies that component_manager, when launched with the --maintain-utc-time flag, provides a fuchsia.time.Maintenance FIDL capability that can be routed to a component. It further verifies that the same clock is vended to consumers of UTC time.

This test launches a realm component, which has maintainer and time_client child components. The maintainer uses fuchsia.time.Maintenance to update the time on a clock, which is observed by time_client.

Building

To add this test to your build, append --with src/sys/component_manager/tests/utc-time to the fx set invocation.

Testing

$ fx test utc-time-tests