Expose --output_user_base to the Bazel server process
...so that it can use that path to compute other directories in the
output user base, in particular the default location for caches.
The first cache we will add is the hash-index cache for downloads
of external archives, but a spawn cache might be added later in the
output user base as well.
Change-Id: I24b1c33235c8f76ec008ecb1789163de2b2a45be
PiperOrigin-RevId: 187164275
diff --git a/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java b/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java
index d2502f8..37fd188 100644
--- a/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java
+++ b/src/test/java/com/google/devtools/build/lib/standalone/StandaloneSpawnStrategyTest.java
@@ -110,7 +110,9 @@
BlazeDirectories directories =
new BlazeDirectories(
- new ServerDirectories(outputBase, outputBase), workspaceDir, "mock-product-name");
+ new ServerDirectories(outputBase, outputBase, outputBase),
+ workspaceDir,
+ "mock-product-name");
// This call implicitly symlinks the integration bin tools into the exec root.
IntegrationMock.get()
.getIntegrationBinTools(fileSystem, directories, TestConstants.WORKSPACE_NAME);