| Index: tests/standalone/io/directory_list_pause_test.dart
|
| diff --git a/tests/standalone/io/directory_list_pause_test.dart b/tests/standalone/io/directory_list_pause_test.dart
|
| index 86ff1566d87a6979dbc1b0fb6c46840853505674..178f59f45e7e052768617634235e715f1e14e421 100644
|
| --- a/tests/standalone/io/directory_list_pause_test.dart
|
| +++ b/tests/standalone/io/directory_list_pause_test.dart
|
| @@ -11,8 +11,8 @@ import "dart:isolate";
|
| void testPauseList() {
|
| var keepAlive = new ReceivePort();
|
| new Directory("").createTemp().then((d) {
|
| - // Linux reads 2K at a time.
|
| - int total = 2 * 1024 + 1;
|
| + // Linux reads 2K at a time, so be sure to be >>.
|
| + int total = 4 * 1024 + 1;
|
| for (int i = 0; i < total; i++) {
|
| new File("${d.path}/$i").createSync();
|
| }
|
| @@ -32,7 +32,7 @@ void testPauseList() {
|
| }
|
| count++;
|
| }, onDone: () {
|
| - Expect.isTrue(count < total);
|
| + Expect.notEquals(total, count);
|
| keepAlive.close();
|
| d.delete().then((ignore) => keepAlive.close());
|
| });
|
|
|