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

Unified Diff: luci_config/appengine/gaeconfig/default_test.go

Issue 2645763002: datastorecache: Add Locker field, public settings. (Closed)
Patch Set: Created 3 years, 11 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 | « luci_config/appengine/gaeconfig/default.go ('k') | luci_config/appengine/gaeconfig/settings.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: luci_config/appengine/gaeconfig/default_test.go
diff --git a/luci_config/appengine/gaeconfig/default_test.go b/luci_config/appengine/gaeconfig/default_test.go
index b88e5224cd69d4777349164d0ea315e4251fcfb3..5de36e8f14a7930bf5f2ae5bfa64345ceec9d948 100644
--- a/luci_config/appengine/gaeconfig/default_test.go
+++ b/luci_config/appengine/gaeconfig/default_test.go
@@ -103,7 +103,7 @@ func TestDatastoreCacheIntegration(t *testing.T) {
c = settings.Use(c, settings.New(&memSettings))
s := Settings{
CacheExpirationSec: 10,
- DatastoreCacheMode: dsCacheStrict,
+ DatastoreCacheMode: DSCacheStrict,
}
putSettings := func() {
if err := settings.GetSettings(c).Set(c, settingsKey, &s, "test harness", "initial settings"); err != nil {
@@ -152,7 +152,7 @@ func TestDatastoreCacheIntegration(t *testing.T) {
}
Convey(`Disabled, skips datastore cache.`, func() {
- s.DatastoreCacheMode = dsCacheDisabled
+ s.DatastoreCacheMode = DSCacheDisabled
putSettings()
c = installConfig(c)
@@ -168,7 +168,7 @@ func TestDatastoreCacheIntegration(t *testing.T) {
})
Convey(`Enabled`, func() {
- s.DatastoreCacheMode = dsCacheEnabled
+ s.DatastoreCacheMode = DSCacheEnabled
putSettings()
c = installConfig(c)
@@ -202,7 +202,7 @@ func TestDatastoreCacheIntegration(t *testing.T) {
})
Convey(`Strict`, func() {
- s.DatastoreCacheMode = dsCacheStrict
+ s.DatastoreCacheMode = DSCacheStrict
putSettings()
c = installConfig(c)
« no previous file with comments | « luci_config/appengine/gaeconfig/default.go ('k') | luci_config/appengine/gaeconfig/settings.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698