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

Unified Diff: appengine/logdog/coordinator/coordinatorTest/logStream.go

Issue 1972753002: LogDog: Implement prefix expiration. (Closed) Base URL: https://github.com/luci/luci-go@logdog-butler-register-coordinator-impl
Patch Set: Updated patchset dependency Created 4 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 | « no previous file | appengine/logdog/coordinator/endpoints/registration/registerPrefix.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/logdog/coordinator/coordinatorTest/logStream.go
diff --git a/appengine/logdog/coordinator/coordinatorTest/logStream.go b/appengine/logdog/coordinator/coordinatorTest/logStream.go
index df3bf9112efc8ed71798b49e6b205c89ccbbf0ea..69aa7745310fede7ebf71f49ccbf42e3411f9f39 100644
--- a/appengine/logdog/coordinator/coordinatorTest/logStream.go
+++ b/appengine/logdog/coordinator/coordinatorTest/logStream.go
@@ -53,11 +53,12 @@ func MakeStream(c context.Context, project config.ProjectName, path types.Stream
ts := TestStream{
Project: project,
Prefix: &coordinator.LogPrefix{
- ID: "", // Filled in by Reload.
- Created: ds.RoundTime(now),
- Prefix: "", // Filled in by Reload.
- Source: []string{"test suite"},
- Secret: secret,
+ ID: "", // Filled in by Reload.
+ Created: ds.RoundTime(now),
+ Prefix: "", // Filled in by Reload.
+ Source: []string{"test suite"},
+ Expiration: ds.RoundTime(now.Add(24 * time.Hour)),
+ Secret: secret,
},
Desc: &logpb.LogStreamDescriptor{
Prefix: string(prefix),
« no previous file with comments | « no previous file | appengine/logdog/coordinator/endpoints/registration/registerPrefix.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698