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

Unified Diff: tests/standalone/io/test_runner_test.dart

Issue 92053002: Increase default timeout in tests/standalone/io/test_runner_test.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_runner_test.dart
diff --git a/tests/standalone/io/test_runner_test.dart b/tests/standalone/io/test_runner_test.dart
index 5b540af6d1e7938d9040fd94fac5f288b78e80b4..4b2fe2ab90bcc4efb23ad75c31a352e22ca20842 100644
--- a/tests/standalone/io/test_runner_test.dart
+++ b/tests/standalone/io/test_runner_test.dart
@@ -12,7 +12,7 @@ import "../../../tools/testing/dart/status_file_parser.dart";
import "../../../tools/testing/dart/test_options.dart";
import "process_test_util.dart";
-final DEFAULT_TIMEOUT = 2;
+final DEFAULT_TIMEOUT = 10;
final LONG_TIMEOUT = 30;
class TestController {
@@ -140,8 +140,8 @@ void main(List<String> arguments) {
throw "This test always fails, to test the test scripts.";
break;
case 'timeout':
- // Run for 10 seconds, then exit. This tests a 2 second timeout.
- new Timer(new Duration(seconds: 10), (){ });
+ // This process should be killed by the test after DEFAULT_TIMEOUT
+ new Timer(new Duration(hours: 42), (){ });
break;
default:
throw "Unknown option ${arguments[0]} passed to test_runner_test";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698