[resultdb] Also update resultsink proto.
Change synced to commit: b84665def8055e050faa7e9450b4171e62106fcb, https://crrev.com/c/3033213
Bug: 90486
Change-Id: I332d7d7f2dd3c47ffcab9a66df6946fa84bba2b5
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/luci-go/+/621565
Reviewed-by: Marc-Antoine Ruel <maruel@google.com>
diff --git a/resultdb/sink/proto/v1/test_result.proto b/resultdb/sink/proto/v1/test_result.proto
index 10ef1ac..8382cae 100644
--- a/resultdb/sink/proto/v1/test_result.proto
+++ b/resultdb/sink/proto/v1/test_result.proto
@@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-
syntax = "proto3";
package luci.resultsink.v1;
@@ -21,6 +20,7 @@
import "google/protobuf/timestamp.proto";
import "resultdb/proto/v1/common.proto";
+import "resultdb/proto/v1/failure_reason.proto";
import "resultdb/proto/v1/test_metadata.proto";
import "resultdb/proto/v1/test_result.proto";
@@ -30,6 +30,9 @@
// in ../../v1/test_result.proto.
// See its comments for details.
message TestResult {
+ reserved 10; // test_location
+ reserved "test_location";
+
// Equivalent of luci.resultdb.v1.TestResult.TestId.
string test_id = 1;
@@ -60,12 +63,11 @@
// The map key is an artifact id.
map<string, Artifact> artifacts = 9;
- // Equivalent of luci.resultdb.v1.TestResult.test_location.
- // Deprecated, use test_metadata instead.
- luci.resultdb.v1.TestLocation test_location = 10;
-
// Equivalent of luci.resultdb.v1.TestResult.test_metadata.
luci.resultdb.v1.TestMetadata test_metadata = 11;
+
+ // Equivalent of luci.resultdb.v1.TestResult.failure_reason.
+ luci.resultdb.v1.FailureReason failure_reason = 12;
}
// A local equivalent of luci.resultdb.Artifact message