Index: tests/standalone/io/http_server_early_client_close_test.dart |
diff --git a/tests/standalone/io/http_server_early_client_close_test.dart b/tests/standalone/io/http_server_early_client_close_test.dart |
index 4b481dba1f80c60b17fe1abf05661d0930c9926f..f4f201cf9be3e17ecb83a42aa8a5a759d0e30b56 100644 |
--- a/tests/standalone/io/http_server_early_client_close_test.dart |
+++ b/tests/standalone/io/http_server_early_client_close_test.dart |
@@ -134,7 +134,7 @@ testEarlyClose2() { |
if (++count < 10) { |
makeRequest(); |
} else { |
- runAsync(server.close); |
+ scheduleMicrotask(server.close); |
} |
}); |
}); |