OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'package:mojo_apptest/apptest.dart'; | 6 import 'package:mojo_apptest/apptest.dart'; |
7 | 7 |
8 import 'src/connect_to_loader_apptests.dart' as connect_to_loader_apptests; | 8 import 'src/connect_to_loader_apptests.dart' as connect_to_loader_apptests; |
9 import 'src/echo_apptests.dart' as echo; | 9 import 'src/echo_apptests.dart' as echo; |
10 import 'src/file_apptests.dart' as file; | 10 import 'src/file_apptests.dart' as file; |
11 import 'src/io_http_apptests.dart' as io_http; | 11 import 'src/io_http_apptests.dart' as io_http; |
12 import 'src/io_internet_address_apptests.dart' as io_internet_address; | 12 import 'src/io_internet_address_apptests.dart' as io_internet_address; |
13 import 'src/pingpong_apptests.dart' as pingpong; | 13 import 'src/pingpong_apptests.dart' as pingpong; |
14 import 'src/service_describer_apptests.dart' as service_describer; | 14 import 'src/service_describer_apptests.dart' as service_describer; |
15 import 'src/uri_apptests.dart' as uri; | 15 import 'src/uri_apptests.dart' as uri; |
16 import 'src/versioning_apptests.dart' as versioning; | 16 import 'src/versioning_apptests.dart' as versioning; |
17 | 17 |
18 main(List args, Object handleToken) { | 18 main(List args, Object handleToken) { |
19 final tests = [ | 19 final tests = [ |
20 // Note(rudominer) When service_describer.test is put further down in the | |
21 // list then it times out about 25% of the time. This is disturbing but | |
22 // I am unable to determine why and so for now am simply moving it to | |
23 // the top of the list. | |
24 service_describer.tests, | |
rudominer
2016/03/03 01:27:51
One thing to note about this hack: It appears to b
alexfandrianto
2016/03/03 02:26:23
That is very troubling behavior. I wonder what's h
zra
2016/03/03 16:52:36
Application shutdown can race with a new client re
rudominer
2016/03/03 22:46:14
I have made the changes you suggested over hangout
| |
20 connect_to_loader_apptests.connectToLoaderApptests, | 25 connect_to_loader_apptests.connectToLoaderApptests, |
21 echo.echoApptests, | 26 echo.echoApptests, |
22 file.tests, | 27 file.tests, |
23 io_internet_address.tests, | 28 io_internet_address.tests, |
24 io_http.tests, | 29 io_http.tests, |
25 pingpong.pingpongApptests, | 30 pingpong.pingpongApptests, |
26 service_describer.tests, | |
27 uri.tests, | 31 uri.tests, |
28 versioning.tests | 32 versioning.tests |
29 ]; | 33 ]; |
30 runAppTests(handleToken, tests); | 34 runAppTests(handleToken, tests); |
31 } | 35 } |
OLD | NEW |