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

Unified Diff: common/logdog/coordinator/stream_test.go

Issue 1863973002: LogDog: Update to archival V2. (Closed) Base URL: https://github.com/luci/luci-go@grpcutil-errors
Patch Set: Fix proto comment. 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
« no previous file with comments | « common/logdog/coordinator/stream.go ('k') | common/proto/logdog/svcconfig/config.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/logdog/coordinator/stream_test.go
diff --git a/common/logdog/coordinator/stream_test.go b/common/logdog/coordinator/stream_test.go
index 291e0eee62161198c84fd0c99bab903b93acbeb3..c0a12eca687fdb1a2547f574f415d2a59c8695d2 100644
--- a/common/logdog/coordinator/stream_test.go
+++ b/common/logdog/coordinator/stream_test.go
@@ -165,7 +165,6 @@ func TestStreamGet(t *testing.T) {
},
State: &logdog.LogStreamState{
Created: google.NewTimestamp(now),
- Updated: google.NewTimestamp(now),
Archive: &logdog.LogStreamState_ArchiveInfo{
IndexUrl: "index",
StreamUrl: "stream",
@@ -192,7 +191,6 @@ func TestStreamGet(t *testing.T) {
},
State: &StreamState{
Created: now,
- Updated: now,
Archived: true,
ArchiveIndexURL: "index",
ArchiveStreamURL: "stream",
@@ -235,7 +233,6 @@ func TestStreamGet(t *testing.T) {
return &logdog.GetResponse{
State: &logdog.LogStreamState{
Created: google.NewTimestamp(now),
- Updated: google.NewTimestamp(now),
},
}, nil
}
@@ -246,7 +243,6 @@ func TestStreamGet(t *testing.T) {
Path: "test/+/a",
State: &StreamState{
Created: now.UTC(),
- Updated: now.UTC(),
},
})
@@ -292,7 +288,6 @@ func TestStreamGet(t *testing.T) {
return &logdog.GetResponse{
State: &logdog.LogStreamState{
Created: google.NewTimestamp(now),
- Updated: google.NewTimestamp(now),
},
Desc: &logpb.LogStreamDescriptor{
Prefix: "test",
@@ -326,7 +321,6 @@ func TestStreamGet(t *testing.T) {
},
State: &StreamState{
Created: now,
- Updated: now,
},
})
})
@@ -336,7 +330,6 @@ func TestStreamGet(t *testing.T) {
return &logdog.GetResponse{
State: &logdog.LogStreamState{
Created: google.NewTimestamp(now),
- Updated: google.NewTimestamp(now),
},
Desc: &logpb.LogStreamDescriptor{
Prefix: "test",
@@ -359,7 +352,6 @@ func TestStreamGet(t *testing.T) {
},
State: &StreamState{
Created: now,
- Updated: now,
},
})
})
@@ -369,7 +361,6 @@ func TestStreamGet(t *testing.T) {
return &logdog.GetResponse{
State: &logdog.LogStreamState{
Created: google.NewTimestamp(now),
- Updated: google.NewTimestamp(now),
},
Logs: []*logpb.LogEntry{
genLog(1337, "ohai"),
« no previous file with comments | « common/logdog/coordinator/stream.go ('k') | common/proto/logdog/svcconfig/config.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698