| # Copyright 2023 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. |
| |
| group("isolated_test_spec_allowlist") { |
| # ________ _________ ________ ________ |
| # |\ ____\|\___ ___\\ __ \|\ __ \ |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| |
| # ____\_\ \ \ \__\ \ \_______\ \__\ |
| # |\_________\ \|__| \|_______|\|__| |
| # \|_________| |
| # |
| # This is an allowlist of test targets that are allowed to set `isolated = |
| # true` so they run on their own shard in continuous integration |
| # infrastructure. |
| # |
| # It is disproportionately expensive to run a test in isolated mode because it |
| # requires starting up a new task and possibly a target device once for every |
| # single run of the test. Isolated mode should not be used unless absolutely |
| # necessary, and justification must be included when it is used. |
| visibility = [ |
| # TODO(https://fxbug.dev/42077085) ffx self-test seems to be buggy, so let's at least |
| # prevent it from affecting other tests by isolating it to its own shard. |
| "//src/developer/ffx/frontends/ffx:ffx-e2e-with-target", |
| "//src/developer/ffx/frontends/ffx:ffx-e2e-without-target", |
| ] |
| } |