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

Unified Diff: common/tsmon/flush_test.go

Issue 2123853002: Added unit annotation supports onto tsmon in go. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Specify the unit of logdog/collector/subscription/processing_time_ms with types.Milliseconds Created 4 years, 5 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 | « common/tsmon/callback_test.go ('k') | common/tsmon/metric/metric.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/tsmon/flush_test.go
diff --git a/common/tsmon/flush_test.go b/common/tsmon/flush_test.go
index 2403c4b134a4e0d996274d7a5c64862330f8ad72..6b08b7f74164593956333a61887989cba7849fc0 100644
--- a/common/tsmon/flush_test.go
+++ b/common/tsmon/flush_test.go
@@ -38,6 +38,7 @@ func TestFlush(t *testing.T) {
Fields: []field.Field{},
ValueType: types.StringType,
},
+ types.MetricMetadata{},
types.CellData{
FieldVals: []interface{}{},
ResetTime: time.Unix(1234, 1000),
@@ -58,6 +59,7 @@ func TestFlush(t *testing.T) {
Fields: []field.Field{},
ValueType: types.StringType,
},
+ types.MetricMetadata{},
types.CellData{
FieldVals: []interface{}{},
ResetTime: time.Unix(1234, 1000),
@@ -79,6 +81,7 @@ func TestFlush(t *testing.T) {
Fields: []field.Field{},
ValueType: types.StringType,
},
+ types.MetricMetadata{},
types.CellData{
FieldVals: []interface{}{},
ResetTime: time.Unix(1234, 1000),
@@ -107,6 +110,7 @@ func TestFlush(t *testing.T) {
Fields: []field.Field{},
ValueType: types.StringType,
},
+ types.MetricMetadata{},
types.CellData{
FieldVals: []interface{}{},
ResetTime: time.Unix(1234, 1000),
« no previous file with comments | « common/tsmon/callback_test.go ('k') | common/tsmon/metric/metric.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698