diff options
author | tomlu <tomlu@google.com> | 2018-08-01 13:20:41 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-08-01 13:22:16 -0700 |
commit | d56a80610a10c7f7d8f47525fe5561bc032926db (patch) | |
tree | 1a71352e225cc3b3c95d6bcd9c9fd1055b9abb2f /src/test/java/com/google/devtools/build/lib/runtime | |
parent | 731900fd714593472f62cb871abab13fd7f3355b (diff) |
Pass a path to ActionExecutedEvent that is resolved via ActionExecutionContext.
If the output artifact is backed by a different file system then we need to use that file system later.
RELNOTES: None
PiperOrigin-RevId: 206981369
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java b/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java index d50717d9a7..7d7bbc424a 100644 --- a/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java +++ b/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java @@ -87,6 +87,7 @@ public class BuildEventStreamerTest extends FoundationTestCase { new ActionExecutedEvent( new ActionsTestUtil.NullAction(), /* exception= */ null, + ActionsTestUtil.DUMMY_ARTIFACT.getPath(), /* stdout= */ null, /* stderr= */ null, ErrorTiming.NO_ERROR); @@ -912,6 +913,7 @@ public class BuildEventStreamerTest extends FoundationTestCase { new ActionExecutedEvent( new ActionsTestUtil.NullAction(), new ActionExecutionException("Exception", /* action= */ null, /* catastrophe= */ false), + ActionsTestUtil.DUMMY_ARTIFACT.getPath(), /* stdout= */ null, /* stderr= */ null, ErrorTiming.BEFORE_EXECUTION); @@ -941,6 +943,7 @@ public class BuildEventStreamerTest extends FoundationTestCase { new ActionExecutedEvent( new ActionsTestUtil.NullAction(), new ActionExecutionException("Exception", /* action= */ null, /* catastrophe= */ false), + ActionsTestUtil.DUMMY_ARTIFACT.getPath(), /* stdout= */ null, /* stderr= */ null, ErrorTiming.BEFORE_EXECUTION); |