Skip to content

Commit 752fa19

Browse files
committed
Merge branch 'development' of https://git01.codeplex.com/casablanca into windows_server_cert
2 parents b2ed4a1 + c4371a6 commit 752fa19

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ TEST_FIXTURE(uri_address, content_ready_timeout)
183183
{
184184
http_response response(200);
185185
response.set_body(streams::istream(buf), U("text/plain"));
186-
response.headers().add(header_names::connection, U("close"));
186+
response.headers().add(header_names::connection, U("close"));
187187
request.reply(response);
188188
});
189189

@@ -195,7 +195,7 @@ TEST_FIXTURE(uri_address, content_ready_timeout)
195195
http_response rsp = client.request(msg).get();
196196

197197
// The response body should timeout and we should receive an exception
198-
#ifdef __APPLE__
198+
#ifndef _MS_WINDOWS
199199
// CodePlex 295
200200
VERIFY_THROWS(rsp.content_ready().wait(), http_exception);
201201
#else
@@ -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 __APPLE__
234+
#ifdef _MS_WINDOWS
235235
// CodePlex 295
236236
VERIFY_THROWS(readTask.get(), http_exception);
237237
#else

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,10 @@ TEST_FIXTURE(uri_address, download_nobody_exception)
366366
VERIFY_THROWS(client.request(msg).get().content_ready().get(), std::invalid_argument);
367367
}
368368

369-
TEST_FIXTURE(uri_address, data_upload_exception, "Ignore:Linux", "898953", "Ignore:Apple", "898953")
369+
TEST_FIXTURE(uri_address, data_upload_exception,
370+
"Ignore:Linux", "296",
371+
"Ignore:Apple", "296",
372+
"Ignore:Android", "296")
370373
{
371374
test_http_server::scoped_server scoped(m_uri);
372375
http_client client(m_uri);

0 commit comments

Comments
 (0)