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

Unified Diff: impl/cloud/datastore_test.go

Issue 2513253002: impl/cloud: Add support for "memcached" memcache. (Closed)
Patch Set: Add test for key hasing. Created 4 years, 1 month 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 | « impl/cloud/context.go ('k') | impl/cloud/memcache.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/cloud/datastore_test.go
diff --git a/impl/cloud/datastore_test.go b/impl/cloud/datastore_test.go
index dc6b207f1371eaf9324ecb37e7c119310ee81115..7992d097801f079c1f9d78cf1c2993767ce168e7 100644
--- a/impl/cloud/datastore_test.go
+++ b/impl/cloud/datastore_test.go
@@ -69,7 +69,7 @@ func TestDatastore(t *testing.T) {
// test suite.
emulatorHost := os.Getenv("DATASTORE_EMULATOR_HOST")
if emulatorHost == "" {
- t.Logf("No emulator detected. Skipping test suite.")
+ t.Logf("No emulator detected (DATASTORE_EMULATOR_HOST). Skipping test suite.")
return
}
@@ -82,7 +82,8 @@ func TestDatastore(t *testing.T) {
testTime := ds.RoundTime(time.Date(2016, 1, 1, 0, 0, 0, 0, time.UTC))
_ = testTime
- c = Use(c, client)
+ cfg := Config{DS: client}
+ c = cfg.Use(c)
Convey(`Supports namespaces`, func() {
namespaces := []string{"foo", "bar", "baz"}
« no previous file with comments | « impl/cloud/context.go ('k') | impl/cloud/memcache.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698