[PATCH 1/2] wininet/tests: Make a check for available data less strict.
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com> --- 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); -- 2.20.1
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=63075 Your paranoid android. === wvistau64 (32 bit report) === wininet: http.c:355: Test failed: unexpected status 50 (INTERNET_STATUS_CLOSING_CONNECTION) http.c:355: Test failed: unexpected status 51 (INTERNET_STATUS_CONNECTION_CLOSED) http.c:355: Test failed: unexpected status 30 (INTERNET_STATUS_SENDING_REQUEST) http.c:355: Test failed: unexpected status 31 (INTERNET_STATUS_REQUEST_SENT) http.c:5116: Test failed: expected status 30 (INTERNET_STATUS_SENDING_REQUEST) 1 times, received 2 times http.c:5117: Test failed: expected status 31 (INTERNET_STATUS_REQUEST_SENT) 1 times, received 2 times http.c:5771: Test failed: expected status 50 (INTERNET_STATUS_CLOSING_CONNECTION) 1 times, received 2 times http.c:5772: Test failed: expected status 51 (INTERNET_STATUS_CONNECTION_CLOSED) 1 times, received 2 times === debian10 (32 bit French report) === wininet: http.c:4946: Test failed: expected 1 pending read, got 2 http.c:5034: Test failed: expected 1 pending read, got 2 === debian10 (32 bit Japanese:Japan report) === wininet: http.c:5034: Test failed: expected 1 pending read, got 2 === debian10 (32 bit Chinese:China report) === wininet: http.c:5034: Test failed: expected 1 pending read, got 2
participants (2)
-
Hans Leidekker -
Marvin