Skip to content

Commit f6cf763

Browse files
committed
Relaxing stream_timeout test verification on Apple.
1 parent 752fa19 commit f6cf763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Release/tests/functional/http/client/connections_and_errors.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ TEST_FIXTURE(uri_address, stream_timeout)
231231

232232
// The response body should timeout and we should receive an exception
233233
auto readTask = rsp.body().read_to_end(streams::producer_consumer_buffer<uint8_t>());
234-
#ifdef _MS_WINDOWS
234+
#ifndef _MS_WINDOWS
235235
// CodePlex 295
236236
VERIFY_THROWS(readTask.get(), http_exception);
237237
#else
@@ -257,7 +257,7 @@ TEST_FIXTURE(uri_address, cancel_before_request)
257257
VERIFY_THROWS_HTTP_ERROR_CODE(responseTask.get(), std::errc::operation_canceled);
258258
}
259259

260-
// This test can't be implemented with our test server so isn't avaliable on WinRT.
260+
// This test can't be implemented with our test server so isn't available on WinRT.
261261
#ifndef __cplusplus_winrt
262262
TEST_FIXTURE(uri_address, cancel_after_headers, "Ignore:Apple", "220")
263263
{

0 commit comments

Comments
 (0)