Chromium Code Reviews| Index: tests/standalone/io/secure_session_resume_test.dart |
| diff --git a/tests/standalone/io/secure_session_resume_test.dart b/tests/standalone/io/secure_session_resume_test.dart |
| index fa0edd116a0bb3dcdffc08eb8579aae7bcf54e87..1ae1f7353c0182a7c3196d5a9ad4deec7079969a 100644 |
| --- a/tests/standalone/io/secure_session_resume_test.dart |
| +++ b/tests/standalone/io/secure_session_resume_test.dart |
| @@ -123,11 +123,11 @@ void main() { |
| keepAlive.close(); |
| }; |
| - int delay = 0; |
| - int delay_between_connections = 300; // Milliseconds. |
| + Duration delay = const Duration(); |
|
Lasse Reichstein Nielsen
2013/02/11 13:01:21
This should not be allowed. Rally. I assume it's z
floitsch
2013/02/11 19:21:32
We can't really avoid it.
made it clear.
|
| + Duration delay_between_connections = const Duration(milliseconds: 300); |
| for (var x in CLIENT_NAMES) { |
| - new Timer(delay, (_) { |
| + new Timer(delay, () { |
| new SecureTestClient(port, x); |
| }); |
| delay += delay_between_connections; |