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

Unified Diff: pkg/scheduled_test/test/scheduled_server_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
Index: pkg/scheduled_test/test/scheduled_server_test.dart
diff --git a/pkg/scheduled_test/test/scheduled_server_test.dart b/pkg/scheduled_test/test/scheduled_server_test.dart
index 19135e0c834b88c2f4a3086cc2656c5b41a3fedb..b34765c6f22e3754b787db3802e7d552bcf767d8 100644
--- a/pkg/scheduled_test/test/scheduled_server_test.dart
+++ b/pkg/scheduled_test/test/scheduled_server_test.dart
@@ -16,6 +16,12 @@ import 'metatest.dart';
import 'utils.dart';
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);
+ });
+
expectTestsPass("a server with no handlers does nothing", () {
test('test', () => new ScheduledServer());
});

Powered by Google App Engine
This is Rietveld 408576698