Index: tests/isolate/mandel_isolate_test.dart |
diff --git a/tests/isolate/mandel_isolate_test.dart b/tests/isolate/mandel_isolate_test.dart |
index b1e3656f8b7c50ed18afab22ab21eeca7528f3e9..7099abebac396c91513df665912c43f9aabba77f 100644 |
--- a/tests/isolate/mandel_isolate_test.dart |
+++ b/tests/isolate/mandel_isolate_test.dart |
@@ -6,15 +6,17 @@ library MandelIsolateTest; |
import 'dart:async'; |
import 'dart:isolate'; |
import 'dart:math'; |
-import '../../pkg/unittest/lib/unittest.dart'; |
+import 'package:unittest/unittest.dart'; |
+import "remote_unittest_helper.dart"; |
const TERMINATION_MESSAGE = -1; |
const N = 100; |
const ISOLATES = 20; |
-main() { |
+void main([args, port]) { |
+ if (testRemote(main, port)) return; |
// Test is really slow in debug builds of the VM. |
- SimpleConfiguration configuration = unittestConfiguration; |
+ var configuration = unittestConfiguration; |
configuration.timeout = const Duration(seconds: 480); |
test("Render Mandelbrot in parallel", () { |
final state = new MandelbrotState(); |