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

Unified Diff: service/datastore/datastore_test.go

Issue 1289323002: Fix miscellaneous prod bugs. (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Probe cache! Created 5 years, 4 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: service/datastore/datastore_test.go
diff --git a/service/datastore/datastore_test.go b/service/datastore/datastore_test.go
index 6a73c108604b6b65f558989e6450af113d955f81..eb16a26dfa905beb58d084d99e95c8252072dbf2 100644
--- a/service/datastore/datastore_test.go
+++ b/service/datastore/datastore_test.go
@@ -19,7 +19,7 @@ import (
func fakeDatastoreFactory(c context.Context) RawInterface {
i := info.Get(c)
return &fakeDatastore{
- aid: i.AppID(),
+ aid: i.FullyQualifiedAppID(),
ns: i.GetNamespace(),
}
}
@@ -548,8 +548,8 @@ func TestDelete(t *testing.T) {
Convey("bad", func() {
Convey("get single error for RPC failure", func() {
keys := []Key{
- NewKey("aid", "ns", "FailAll", "", 1, nil),
- NewKey("aid", "ns", "Ok", "", 1, nil),
+ NewKey("s~aid", "ns", "FailAll", "", 1, nil),
+ NewKey("s~aid", "ns", "Ok", "", 1, nil),
}
So(ds.DeleteMulti(keys).Error(), ShouldEqual, "DeleteMulti fail all")
})

Powered by Google App Engine
This is Rietveld 408576698