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

Unified Diff: appengine/logdog/coordinator/backend/storageCleanup_test.go

Issue 1672833003: LogDog: Add log rendering view. Base URL: https://github.com/luci/luci-go@master
Patch Set: Clean up, add tests, little reorg. Created 4 years, 10 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/backend/storageCleanup_test.go
diff --git a/appengine/logdog/coordinator/backend/storageCleanup_test.go b/appengine/logdog/coordinator/backend/storageCleanup_test.go
index 6e8021329e038cbc1296d4f5b10471772c639759..c2e59a5d54f411ec3d4d34107148682b34c4befe 100644
--- a/appengine/logdog/coordinator/backend/storageCleanup_test.go
+++ b/appengine/logdog/coordinator/backend/storageCleanup_test.go
@@ -53,7 +53,7 @@ func TestHandleStorageCleanup(t *testing.T) {
st := testPurgeStorage{}
b := Backend{
s: coordinator.Service{
- StorageFunc: func(context.Context) (storage.Storage, error) {
+ IntermediateStorageFunc: func(context.Context) (storage.Storage, error) {
return &st, nil
},
},
@@ -88,7 +88,7 @@ func TestHandleStorageCleanup(t *testing.T) {
})
Convey(`Will error if a storage instance could not be obtained.`, func() {
- b.s.StorageFunc = func(context.Context) (storage.Storage, error) {
+ b.s.IntermediateStorageFunc = func(context.Context) (storage.Storage, error) {
return nil, errors.New("test error")
}
« no previous file with comments | « appengine/logdog/coordinator/backend/storageCleanup.go ('k') | appengine/logdog/coordinator/endpoints/logs/get.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698