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

Unified Diff: appengine/tsmon/standardmetrics_test.go

Issue 1854583002: Migrate tsmon protos to proto3 (Closed) Base URL: git@github.com:luci/luci-go.git@master
Patch Set: Created 4 years, 9 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 | « appengine/tsmon/middleware_test.go ('k') | common/tsmon/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/tsmon/standardmetrics_test.go
diff --git a/appengine/tsmon/standardmetrics_test.go b/appengine/tsmon/standardmetrics_test.go
index 169d5f30f602727f71682de631999136cb9e420b..41d39587a695e2cd2f4562f9f9269bfaf51d6c5a 100644
--- a/appengine/tsmon/standardmetrics_test.go
+++ b/appengine/tsmon/standardmetrics_test.go
@@ -7,7 +7,6 @@ package tsmon
import (
"testing"
- "github.com/golang/protobuf/proto"
"github.com/luci/luci-go/common/tsmon"
"github.com/luci/luci-go/common/tsmon/monitor"
"github.com/luci/luci-go/common/tsmon/store"
@@ -19,7 +18,7 @@ import (
func TestStandardMetrics(t *testing.T) {
Convey("Default version", t, func() {
c, _ := buildGAETestContext()
- tsmon.GetState(c).S = store.NewInMemory(&target.Task{ServiceName: proto.String("default target")})
+ tsmon.GetState(c).S = store.NewInMemory(&target.Task{ServiceName: "default target"})
standardMetricsCallback(c)
tsmon.Flush(c)
« no previous file with comments | « appengine/tsmon/middleware_test.go ('k') | common/tsmon/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698