Skip to content

Commit

Permalink
Enforce that TestRunnerAction is not shareable: the test log's name i…
Browse files Browse the repository at this point in the history
…s derived from the target's name, which must be unique.

PiperOrigin-RevId: 410843147
  • Loading branch information
janakdr authored and Copybara-Service committed Nov 18, 2021
1 parent 40c9b75 commit 62d31da
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,12 @@ public ImmutableList<Pair<String, Path>> getTestOutputsMapping(
return builder.build();
}

// Test actions are always distinguished by their target name, which must be unique.
@Override
public final boolean isShareable() {
return false;
}

@Override
protected void computeKey(
ActionKeyContext actionKeyContext,
Expand Down

0 comments on commit 62d31da

Please sign in to comment.