diff options
author | 2016-02-03 13:18:26 +0000 | |
---|---|---|
committer | 2016-02-03 22:06:30 +0000 | |
commit | 9446e9b55e01aee0425a1f21b47b98df55043c6f (patch) | |
tree | 59a0bdbfa93b133ed5c53ec41de9af165319a927 /src/main/java/com/google/devtools/build/lib/rules/test/ExclusiveTestStrategy.java | |
parent | 0d1a53cf5614d621518914682ec44c6f20a27ab7 (diff) |
Make The Build Faster: Drop the describeStrategy() and strategyLocality() methods, as we can simply pass an ActionStatusMessage to the EventBus instead. All SpawnActionContexts now send an appropriate message when they execute a Spawn.
This also gets rid of the idiom that an Action knows which strategy will be used to execute it - this decision and knowledge belongs to the executor, not the action.
--
MOS_MIGRATED_REVID=113731846
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/test/ExclusiveTestStrategy.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/test/ExclusiveTestStrategy.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/test/ExclusiveTestStrategy.java b/src/main/java/com/google/devtools/build/lib/rules/test/ExclusiveTestStrategy.java index b3b5fbd67c..8ee7f3efb7 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/test/ExclusiveTestStrategy.java +++ b/src/main/java/com/google/devtools/build/lib/rules/test/ExclusiveTestStrategy.java @@ -47,9 +47,4 @@ public class ExclusiveTestStrategy implements TestActionContext { Path execRoot, TestRunnerAction action, TestResultData cached) throws IOException { return parent.newCachedTestResult(execRoot, action, cached); } - - @Override - public String strategyLocality(TestRunnerAction testRunnerAction) { - return "exclusive"; - } } |