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

Unified Diff: trace/service/traceservice_test.go

Issue 1413403002: Add a Ping() method to the trace service to make it easier to detect if the service is up and runni… (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: tests Created 5 years, 2 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 | « trace/service/traceservice.pb.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trace/service/traceservice_test.go
diff --git a/trace/service/traceservice_test.go b/trace/service/traceservice_test.go
index 88954bed8b0c5100965fab938a934ffe0548a46d..09c12e146a8d6ac13c0e16a82465401ba505130e 100644
--- a/trace/service/traceservice_test.go
+++ b/trace/service/traceservice_test.go
@@ -108,6 +108,10 @@ func TestImpl(t *testing.T) {
ctx := context.Background()
+ // First confirm that Ping() works.
+ _, err = ts.Ping(ctx, &Empty{})
+ assert.Nil(t, err)
+
// Confirm that these traceids don't have Params stored in the db yet.
missingRequest := &MissingParamsRequest{
Traceids: []string{"key:8888:android", "key:gpu:win8"},
« no previous file with comments | « trace/service/traceservice.pb.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698