| // Copyright 2022 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| // This test is intended to work for a core product built as well as | |
| // for the integration tests for the inspect test runner. | |
| { | |
| include: [ "//src/sys/test_runners/inspect/default.shard.cml" ], | |
| program: { | |
| accessor: "ALL", | |
| timeout_seconds: "60", | |
| cases: [ | |
| // Check archivist has any data | |
| "bootstrap/archivist:root", | |
| // Check archivist saw at least one START event | |
| "bootstrap/archivist:root/event_stats/recent_events/*:event WHERE [a] Count(Filter(Fn([b], b == 'START'), a)) > 0", | |
| // Check archivist counted components running | |
| "bootstrap/archivist:root/event_stats:components_seen_running WHERE [a] a > 1", | |
| ], | |
| }, | |
| } |