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

Unified Diff: test/datastore/e2e/datastore_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
Index: test/datastore/e2e/datastore_test_impl.dart
diff --git a/test/datastore/e2e/datastore_test_impl.dart b/test/datastore/e2e/datastore_test_impl.dart
index ef550662cf9cef89363c7df2b0e5980bd9ccc376..685840f3da776e38c98d6f2b354815a0cb871323 100644
--- a/test/datastore/e2e/datastore_test_impl.dart
+++ b/test/datastore/e2e/datastore_test_impl.dart
@@ -39,14 +39,6 @@ import 'utils.dart';
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, the index updates take longer than the
-// following constant.
-const INDEX_UPDATE_DELAY = const Duration(seconds: 10);
-
Future sleep(Duration duration) {
var completer = new Completer();
new Timer(duration, completer.complete);
« test/common_e2e.dart ('K') | « test/common_e2e.dart ('k') | test/db/e2e/db_test_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698