Skip to content

Commit

Permalink
Add java-home to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mcnamara committed Sep 28, 2024
1 parent 18bedc2 commit 6db438f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ public static BlazeInfo createMockBlazeInfo(
.put(EXECUTION_ROOT_KEY, executionRoot)
.put(blazeBinKey(buildSystemName), blazeBin)
.put(blazeGenfilesKey(buildSystemName), blazeGenFiles)
.put(blazeTestlogsKey(buildSystemName), blazeTestlogs);
.put(blazeTestlogsKey(buildSystemName), blazeTestlogs)
.put(JAVA_HOME, "/tmp/java");
return BlazeInfo.create(buildSystemName, blazeInfoMap.build());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public class FastBuildChangedFilesServiceTest extends BlazeIntegrationTestCase {
"blaze-testlogs", BLAZE_TESTLOGS,
"execution_root", BLAZE_EXECROOT,
"output_base", "/blaze/output-base",
"output_path", "/blaze/output-base/output-path"
"output_path", "/blaze/output-base/output-path",
"java-home", "/tmp/java"
));

private FastBuildChangedFilesService changedFilesService;
Expand Down

0 comments on commit 6db438f

Please sign in to comment.