diff options
author | 2018-04-17 07:09:37 -0700 | |
---|---|---|
committer | 2018-04-17 07:12:15 -0700 | |
commit | e3a0b09598baff1860a330d63284ab1fb98a76f4 (patch) | |
tree | 7913c72211a9bf5a1174bd7de92233623c5f3ad4 /src/main/java/com/google/devtools/build/lib/buildeventstream | |
parent | b701530ca8beaf190143b502828f4d91132981b1 (diff) |
Move test_timeout to BuildConfiguration and TargetCompleteEvent.
- Move test_timeout to BuildConfiguration.
- Add test_timeout_seconds field to BEP TargetCompleteEvent.
- Deprecate test_timeout field in ExecutionInfo. Data is still written to deprecated field to allow consumer transition.
PiperOrigin-RevId: 193192636
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildeventstream')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto index 33844eef69..85439806c7 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto +++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto @@ -475,6 +475,9 @@ message TargetComplete { // List of tags associated with this configured target. repeated string tag = 3; + + // The timeout specified for test actions under this configured target. + int64 test_timeout_seconds = 7; } enum TestStatus { @@ -518,7 +521,8 @@ message TestResult { // Message providing optional meta data on the execution of the test action, // if available. message ExecutionInfo { - int32 timeout_seconds = 1; + // Deprecated, use TargetComplete.test_timeout_seconds instead. + int32 timeout_seconds = 1 [deprecated = true]; // Name of the strategy to execute this test action (e.g., "local", // "remote") |