aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2018-03-26 16:33:56 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-03-26 16:34:57 -0700
commit2c3990c516538053e49e443f65bffe11185bf9b2 (patch)
treeb81a2409ab48b566174a60260be73f006fd491c0 /src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
parent88929e57d35591850cb814fa717a50c672c78179 (diff)
Simplify Executor.getSpawnActionContext() by removing mnemonic: spawn is enough.
RELNOTES: None PiperOrigin-RevId: 190544948
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java b/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
index 91ff96fbee..c3828d3c0c 100644
--- a/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
+++ b/src/main/java/com/google/devtools/build/lib/exec/StandaloneTestStrategy.java
@@ -347,8 +347,7 @@ public class StandaloneTestStrategy extends TestStrategy {
TestResultData.Builder builder = TestResultData.newBuilder();
long startTime = actionExecutionContext.getClock().currentTimeMillis();
- SpawnActionContext spawnActionContext =
- actionExecutionContext.getSpawnActionContext(action.getMnemonic(), spawn);
+ SpawnActionContext spawnActionContext = actionExecutionContext.getSpawnActionContext(spawn);
List<SpawnResult> spawnResults = ImmutableList.of();
try {
try {