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

Unified Diff: test/db/e2e/db_test_impl.dart

Issue 695533003: Increase delay when after eventually consistent operations in datastore/storage (Closed) Base URL: git@github.com:dart-lang/gcloud.git@master
Patch Set: Created 6 years, 1 month 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 | « test/datastore/e2e/datastore_test_impl.dart ('k') | test/storage/e2e_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/db/e2e/db_test_impl.dart
diff --git a/test/db/e2e/db_test_impl.dart b/test/db/e2e/db_test_impl.dart
index 32abf45a89305685c27b5c8c1ef78ce4411b0eeb..529b64f92bfae3ec38bc0062f06f36d2c2f1f011 100644
--- a/test/db/e2e/db_test_impl.dart
+++ b/test/db/e2e/db_test_impl.dart
@@ -53,14 +53,6 @@ import 'package:gcloud/src/datastore_impl.dart' as datastore_impl;
import '../../datastore/e2e/datastore_test_impl.dart' as datastore_test;
import '../../common_e2e.dart';
-// Note:
-// Non-ancestor queries (i.e. queries not lookups) result in index scans.
-// The index tables are updated in a "eventually consistent" way.
-//
-// So this can make tests flaky, if the index updates take longer than the
-// following constant.
-const INDEX_UPDATE_DELAY = const Duration(seconds: 10);
-
@db.Kind()
class Person extends db.Model {
@db.StringProperty()
« no previous file with comments | « test/datastore/e2e/datastore_test_impl.dart ('k') | test/storage/e2e_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698