From 219d56df765a2da180c13e7a9a49252da3d1a7a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20K=C3=B6plinger?= Date: Sun, 4 Jan 2015 05:51:18 +0100 Subject: [PATCH] Fix unreliable async_read.exe test --- mono/tests/async_read.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/mono/tests/async_read.cs b/mono/tests/async_read.cs index bde78022851..64f36ab83c6 100644 --- a/mono/tests/async_read.cs +++ b/mono/tests/async_read.cs @@ -28,6 +28,7 @@ class Test { s.Position = 0; do { + buf = new byte [1]; ar = s.BeginRead (buf, 0, 1, ac, buf); } while (s.EndRead (ar) == 1); sum -= buf [0]; -- 2.11.4.GIT