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

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

Issue 54723005: Fix a broken scheduled_test test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/metatest.dart
diff --git a/pkg/scheduled_test/test/metatest.dart b/pkg/scheduled_test/test/metatest.dart
index d2ed92fe3259f447f9ecc8d9aaa34fac2803d330..18309bd7167f442dad82d5276152f348da4c8bb0 100644
--- a/pkg/scheduled_test/test/metatest.dart
+++ b/pkg/scheduled_test/test/metatest.dart
@@ -119,7 +119,9 @@ void initMetatest(message) {
/// describing the results of that test run.
Future<Map> _runInIsolate(String description) {
var replyPort = new ReceivePort();
- return Isolate.spawnUri(Platform.script, [], {
+ // TODO(nweiz): Don't use path here once issue 8440 is fixed.
+ var uri = path.toUri(path.absolute(path.fromUri(Platform.script)));
+ return Isolate.spawnUri(uri, [], {
'testToRun': description,
'replyTo': replyPort.sendPort
}).then((_) {
« no previous file with comments | « pkg/scheduled_test/lib/src/schedule.dart ('k') | pkg/scheduled_test/test/scheduled_test/nested_task_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698