Turn down unused `--experimental_persistent_test_runner` experiment
PiperOrigin-RevId: 436225152
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 b1c9342..3f58e71d 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
@@ -127,9 +127,6 @@
executionInfo.put(ExecutionRequirements.NO_CACHE, "");
}
executionInfo.put(ExecutionRequirements.TIMEOUT, "" + getTimeout(action).getSeconds());
- if (action.getTestProperties().isPersistentTestRunner()) {
- executionInfo.put(ExecutionRequirements.SUPPORTS_WORKERS, "1");
- }
SimpleSpawn.LocalResourcesSupplier localResourcesSupplier =
() ->
@@ -147,9 +144,7 @@
action.getRunfilesSupplier(),
ImmutableMap.of(),
/*inputs=*/ action.getInputs(),
- action.getTestProperties().isPersistentTestRunner()
- ? action.getTools()
- : NestedSetBuilder.emptySet(Order.STABLE_ORDER),
+ NestedSetBuilder.emptySet(Order.STABLE_ORDER),
createSpawnOutputs(action),
/*mandatoryOutputs=*/ ImmutableSet.of(),
localResourcesSupplier);