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

Side by Side Diff: tests/standalone/io/socket_ipv6_test.dart

Issue 2566263002: Reduce flakiness of http_client_stays_alive_test. (Closed)
Patch Set: Split up ipv6 test Created 4 years 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 unified diff | Download patch
« no previous file with comments | « tests/standalone/io/http_client_stays_alive_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:io'; 5 import 'dart:io';
6 6
7 import "package:async_helper/async_helper.dart"; 7 import "package:async_helper/async_helper.dart";
8 import "package:expect/expect.dart"; 8 import "package:expect/expect.dart";
9 9
10 const ANY = InternetAddressType.ANY; 10 const ANY = InternetAddressType.ANY;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 }); 117 });
118 Socket.connect("127.0.0.1", server.port).catchError((error) { 118 Socket.connect("127.0.0.1", server.port).catchError((error) {
119 server.close(); 119 server.close();
120 asyncEnd(); 120 asyncEnd();
121 }); 121 });
122 }); 122 });
123 }); 123 });
124 } 124 }
125 125
126 void main() { 126 void main() {
127 testIPv6toIPv6(); 127 testIPv6toIPv6(); /// none: ok
Florian Schneider 2016/12/12 21:05:14 Unrelated, but seems good in general to split up t
128 testIPv4toIPv6(); 128 testIPv4toIPv6(); /// 01: ok
129 testIPv6toIPv4(); 129 testIPv6toIPv4(); /// 02: ok
130 testIPv4toIPv4(); 130 testIPv4toIPv4(); /// 03: ok
131 testIPv6Lookup(); 131 testIPv6Lookup(); /// 04: ok
132 testIPv4Lookup(); 132 testIPv4Lookup(); /// 05: ok
133 133
134 testIPv4toIPv6_IPV6Only(); 134 testIPv4toIPv6_IPV6Only(); /// 06: ok
135 } 135 }
OLDNEW
« no previous file with comments | « tests/standalone/io/http_client_stays_alive_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698