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

Unified Diff: service/datastore/checkfilter_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/checkfilter.go ('k') | service/datastore/context_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/checkfilter_test.go
diff --git a/service/datastore/checkfilter_test.go b/service/datastore/checkfilter_test.go
index 550c8795f90abe2e30248a849016fc49119d0bfd..12e7911c0341547d6fbc1b22fb622b19dcbbccf2 100644
--- a/service/datastore/checkfilter_test.go
+++ b/service/datastore/checkfilter_test.go
@@ -68,7 +68,7 @@ func TestCheckFilter(t *testing.T) {
So(err, ShouldEqual, ErrInvalidKey)
}), ShouldBeNil)
- keys[0] = mkKey("aid", "ns", "Kind", 1)
+ keys[0] = mkKey("s~aid", "ns", "Kind", 1)
hit := false
So(func() {
rds.GetMulti(keys, nil, func(pm PropertyMap, err error) {
@@ -94,7 +94,7 @@ func TestCheckFilter(t *testing.T) {
So(err, ShouldEqual, ErrInvalidKey)
}), ShouldBeNil)
- keys = []Key{mkKey("aid", "ns", "Kind", 0)}
+ keys = []Key{mkKey("s~aid", "ns", "Kind", 0)}
vals = []PropertyMap{nil}
So(rds.PutMulti(keys, vals, func(k Key, err error) {
So(k, ShouldBeNil)
@@ -120,7 +120,7 @@ func TestCheckFilter(t *testing.T) {
hit := false
So(func() {
- rds.DeleteMulti([]Key{mkKey("aid", "ns", "Kind", 1)}, func(error) {
+ rds.DeleteMulti([]Key{mkKey("s~aid", "ns", "Kind", 1)}, func(error) {
hit = true
})
}, ShouldPanic)
« no previous file with comments | « service/datastore/checkfilter.go ('k') | service/datastore/context_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698