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

Unified Diff: impl/memory/datastore.go

Issue 1366793002: Add Consistent(bool) to Testing interface (Closed) Base URL: https://github.com/luci/gae.git@move_serialization_helpers
Patch Set: fix errcheck in test... Created 5 years, 3 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 | « no previous file | impl/memory/datastore_data.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/datastore.go
diff --git a/impl/memory/datastore.go b/impl/memory/datastore.go
index e9d7a66d98008b01657dd5637a1a1d04cae0c5d2..973d59b8d3753beb31511366b91046e04a8cb76e 100644
--- a/impl/memory/datastore.go
+++ b/impl/memory/datastore.go
@@ -102,7 +102,11 @@ func (d *dsImpl) CatchupIndexes() {
}
func (d *dsImpl) SetTransactionRetryCount(count int) {
- d.data.txnFakeRetry = count
+ d.data.setTxnRetry(count)
+}
+
+func (d *dsImpl) Consistent(always bool) {
+ d.data.setConsistent(always)
}
func (d *dsImpl) Testable() ds.Testable {
« no previous file with comments | « no previous file | impl/memory/datastore_data.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698