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

Unified Diff: tests/html/fileapi_test.dart

Issue 12638016: Add a larger time window for file creation test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/fileapi_test.dart
diff --git a/tests/html/fileapi_test.dart b/tests/html/fileapi_test.dart
index a089a3233b56e74351fceb17bcc495a80617ddd6..681750cffb1a990433c8439181135d10851f3f7d 100644
--- a/tests/html/fileapi_test.dart
+++ b/tests/html/fileapi_test.dart
@@ -84,8 +84,10 @@ main() {
return e.getMetadata();
}).then((Metadata metadata) {
var changeTime = metadata.modificationTime;
- expect(new DateTime.now().difference(changeTime).inSeconds,
- lessThan(60));
+ // Upped because our Windows buildbots can sometimes be particularly
+ // slow.
+ expect(new DateTime.now().difference(changeTime).inMinutes,
+ lessThan(4));
expect(metadata.size, equals(0));
});
});
« no previous file with comments | « no previous file | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698