Hans Leidekker : wininet/tests: Make a check for available data less strict.

Alexandre Julliard julliard at winehq.org
Thu Jan 9 16:34:29 CST 2020


Module: wine
Branch: master
Commit: 3a22407396bfe18ef9bdab69ef192be10306142e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3a22407396bfe18ef9bdab69ef192be10306142e

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Jan  9 14:34:56 2020 +0100

wininet/tests: Make a check for available data less strict.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wininet/tests/http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index 9c2b949cdd..8f3d02e664 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -5551,7 +5551,7 @@ static void test_http_read(int port)
 
     send_response_len_and_wait(20000, TRUE, &ib);
     avail = expect_data_available(req.request, -1);
-    ok(avail < 17000, "avail = %u\n", avail);
+    ok(avail <= 20000, "avail = %u\n", avail);
 
     SET_WINE_ALLOW(INTERNET_STATUS_CLOSING_CONNECTION);
     SET_WINE_ALLOW(INTERNET_STATUS_CONNECTION_CLOSED);




More information about the wine-cvs mailing list