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

Unified Diff: service/datastore/datastore_test.go

Issue 1289323002: Fix miscellaneous prod bugs. (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Rebase. 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
« no previous file with comments | « service/datastore/context_test.go ('k') | service/datastore/multiarg.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/datastore_test.go
diff --git a/service/datastore/datastore_test.go b/service/datastore/datastore_test.go
index f480e59963543a1b04559f0686c705ec00a46744..a9f38f11ce4294d140d427ed3373f9bfa3644bca 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(),
}
}
@@ -552,8 +552,8 @@ func TestDelete(t *testing.T) {
Convey("bad", func() {
Convey("get single error for RPC failure", func() {
keys := []Key{
- mkKey("aid", "ns", "FailAll", 1, nil),
- mkKey("aid", "ns", "Ok", 1, nil),
+ mkKey("s~aid", "ns", "FailAll", 1, nil),
+ mkKey("s~aid", "ns", "Ok", 1, nil),
}
So(ds.DeleteMulti(keys).Error(), ShouldEqual, "DeleteMulti fail all")
})
« no previous file with comments | « service/datastore/context_test.go ('k') | service/datastore/multiarg.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698