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

Unified Diff: appengine/tsmon/handler_test.go

Issue 2617903005: Remove dsQueryBatch in favor of ds.Batcher. (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 | « appengine/tsmon/handler.go ('k') | dm/appengine/deps/walk_graph.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/tsmon/handler_test.go
diff --git a/appengine/tsmon/handler_test.go b/appengine/tsmon/handler_test.go
index 2acfb493e2f8e1770e6bb6550ad8feeacdf4a22a..3adaf000e96398efcf7afcff4aee9a2a4fadbf2d 100644
--- a/appengine/tsmon/handler_test.go
+++ b/appengine/tsmon/handler_test.go
@@ -140,7 +140,7 @@ func TestHousekeepingHandler(t *testing.T) {
Convey("Expires old instances", t, func() {
c, clock := buildGAETestContext()
- for _, count := range []int{1, housekeepingInstanceBatchSize + 1} {
+ for _, count := range []int{1, ds.Raw(c).Constraints().QueryBatchSize + 1} {
Convey(fmt.Sprintf("Count: %d", count), func() {
insts := make([]*instance, count)
keys := make([]*ds.Key, count)
« no previous file with comments | « appengine/tsmon/handler.go ('k') | dm/appengine/deps/walk_graph.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698