Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1057)

Unified Diff: go/src/infra/monitoring/messages/testresults.go

Issue 1125263004: dispatcher: fix test result parsing, build ranges for failure alerts, other fixes (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: fixed typo in comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « go/src/infra/monitoring/messages/gatekeeper.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/monitoring/messages/testresults.go
diff --git a/go/src/infra/monitoring/messages/testresults.go b/go/src/infra/monitoring/messages/testresults.go
index 5316c0de0d1a828daa4ac45839d9051457940aaa..b3abb32c3e4e2063783c32c3a634fc8fc9689915 100644
--- a/go/src/infra/monitoring/messages/testresults.go
+++ b/go/src/infra/monitoring/messages/testresults.go
@@ -8,9 +8,10 @@ package messages
// TestResults represents the uploaded results of a set of tests for a build.
type TestResults struct {
- BuildNumber string `json:"build_number"`
- SecondsSinceEpoch int64 `json:"seconds_since_epoch"`
- Tests map[string]TestResult `json:"tests"`
+ BuildNumber string `json:"build_number"`
+ SecondsSinceEpoch int64 `json:"seconds_since_epoch"`
+ // Tests is an arbitrarily nested tree of test names
+ Tests map[string]interface{} `json:"tests"`
}
// TestResult represents the output of an individual test.
« no previous file with comments | « go/src/infra/monitoring/messages/gatekeeper.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698