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

Unified Diff: appengine/logdog/coordinator/endpoints/logs/list_test.go

Issue 1863973002: LogDog: Update to archival V2. (Closed) Base URL: https://github.com/luci/luci-go@grpcutil-errors
Patch Set: Code review comments, use Pub/Sub, archival staging, quality of life. Created 4 years, 8 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
Index: appengine/logdog/coordinator/endpoints/logs/list_test.go
diff --git a/appengine/logdog/coordinator/endpoints/logs/list_test.go b/appengine/logdog/coordinator/endpoints/logs/list_test.go
index ba08eb60c3d0e327dcd87976518b8b31460073bb..c0b531eb11bdc449d4bdafa156f816f7edf03545 100644
--- a/appengine/logdog/coordinator/endpoints/logs/list_test.go
+++ b/appengine/logdog/coordinator/endpoints/logs/list_test.go
@@ -18,7 +18,6 @@ import (
"github.com/luci/luci-go/common/clock/testclock"
"github.com/luci/luci-go/common/logdog/types"
"github.com/luci/luci-go/common/proto/logdog/logpb"
- "github.com/luci/luci-go/common/proto/logdog/svcconfig"
"github.com/luci/luci-go/server/auth"
"github.com/luci/luci-go/server/auth/authtest"
"golang.org/x/net/context"
@@ -49,11 +48,14 @@ func TestList(t *testing.T) {
fs := authtest.FakeState{}
c = auth.WithState(c, &fs)
- c = ct.UseConfig(c, &svcconfig.Coordinator{
- AdminAuthGroup: "test-administrators",
- })
+ svcStub := ct.Services{}
+ svcStub.InitConfig()
+ svcStub.ServiceConfig.Coordinator.AdminAuthGroup = "test-administrators"
+
+ s := Server{
+ ServiceBase: coordinator.ServiceBase{&svcStub},
+ }
- s := Server{}
req := logdog.ListRequest{}
// Install a set of stock log streams to query against.

Powered by Google App Engine
This is Rietveld 408576698