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

Unified Diff: pkg/scheduled_test/test/scheduled_process_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_process_test.dart
diff --git a/pkg/scheduled_test/test/scheduled_process_test.dart b/pkg/scheduled_test/test/scheduled_process_test.dart
index 974294737f543ec419a885ae34df0d48acd584da..4b89da154bcfb0096aaa9b937ad6bcea15e47352 100644
--- a/pkg/scheduled_test/test/scheduled_process_test.dart
+++ b/pkg/scheduled_test/test/scheduled_process_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 process must have kill() or shouldExit() called", () {
var errors;
test('test 1', () {

Powered by Google App Engine
This is Rietveld 408576698