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

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: 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') | impl/memory/datastore_data.go » ('J')
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 62c9a99825b8b045c832d76958bc1c816d827563..fb1ec74e0627e6a4c8fdcbec1cb3838726eb6e43 100644
--- a/impl/memory/datastore.go
+++ b/impl/memory/datastore.go
@@ -97,7 +97,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') | impl/memory/datastore_data.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698