diff options
author | 2017-10-27 12:12:11 -0400 | |
---|---|---|
committer | 2017-10-30 10:40:06 -0400 | |
commit | f903eb5ace7e4d9e72ca95f3e5fa39816be93a76 (patch) | |
tree | 3f5f33de008ecd0c82996a134fad2968146312e3 /src/test/java/com/google/devtools/build/lib/runtime | |
parent | 4abd9434447e08c70266cc5583456816537718c3 (diff) |
Thread FileSystem through to a single Path#delete call site.
This requires a fairly large amount of changes to fundamental objects like BlazeRuntime, Executor, and so on, as well as changing a lot of test code to thread the file system through. I expect future CLs to be much smaller.
PiperOrigin-RevId: 173678144
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java | 1 | ||||
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java b/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java index 5e99114e1b..2198a13f0e 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java +++ b/src/test/java/com/google/devtools/build/lib/runtime/BlazeCommandDispatcherRcoptionsTest.java @@ -139,6 +139,7 @@ public class BlazeCommandDispatcherRcoptionsTest { new ServerDirectories(scratch.dir("install_base"), scratch.dir("output_base")); this.runtime = new BlazeRuntime.Builder() + .setFileSystem(scratch.getFileSystem()) .setProductName(productName) .setServerDirectories(serverDirectories) .setStartupOptionsProvider( diff --git a/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java b/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java index 1843ca7979..ef8c7f085e 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java +++ b/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java @@ -352,6 +352,7 @@ public final class CommandInterruptionTest { new ServerDirectories(scratch.dir("install"), scratch.dir("output")); BlazeRuntime runtime = new BlazeRuntime.Builder() + .setFileSystem(scratch.getFileSystem()) .setProductName(productName) .setServerDirectories(serverDirectories) .setStartupOptionsProvider( |