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

Unified Diff: pkg/scheduled_test/test/descriptor_test.dart

Issue 13327009: Increase the default test timeout for scheduled tests on Windows. (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 | pkg/scheduled_test/test/metatest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/test/descriptor_test.dart
diff --git a/pkg/scheduled_test/test/descriptor_test.dart b/pkg/scheduled_test/test/descriptor_test.dart
index baca328338cd76cb7c010879f92c788c248c49a7..f43e159476f298318a7d5ef2e1923918b533c97d 100644
--- a/pkg/scheduled_test/test/descriptor_test.dart
+++ b/pkg/scheduled_test/test/descriptor_test.dart
@@ -17,6 +17,12 @@ import 'utils.dart';
String sandbox;
void main() {
+ metaSetUp(() {
+ // The windows bots are very slow, so we increase the default timeout.
+ if (Platform.operatingSystem != "windows") return;
+ currentSchedule.timeout = new Duration(seconds: 10);
Bob Nystrom 2013/03/29 21:08:31 How about applying a multiplier to the previous ti
nweiz 2013/03/29 21:38:32 In this case, we are the user.
+ });
+
expectTestsPass('file().create() creates a file', () {
test('test', () {
scheduleSandbox();
« no previous file with comments | « no previous file | pkg/scheduled_test/test/metatest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698