Blame cpprest-2.10.17-disable-outside-and-failing-tests.patch

25dba45
diff --git a/Release/tests/functional/http/client/CMakeLists.txt b/Release/tests/functional/http/client/CMakeLists.txt
f3ae4a4
index 3e1a9363..06726bef 100644
25dba45
--- a/Release/tests/functional/http/client/CMakeLists.txt
25dba45
+++ b/Release/tests/functional/http/client/CMakeLists.txt
4baefae
@@ -12,7 +12,6 @@ set(SOURCES
25dba45
   multiple_requests.cpp
25dba45
   oauth1_tests.cpp
25dba45
   oauth2_tests.cpp
25dba45
-  outside_tests.cpp
25dba45
   pipeline_stage_tests.cpp
25dba45
   progress_handler_tests.cpp
25dba45
   proxy_tests.cpp
25dba45
diff --git a/Release/tests/functional/http/client/authentication_tests.cpp b/Release/tests/functional/http/client/authentication_tests.cpp
4baefae
index c0440fed..afa4a666 100644
25dba45
--- a/Release/tests/functional/http/client/authentication_tests.cpp
25dba45
+++ b/Release/tests/functional/http/client/authentication_tests.cpp
4baefae
@@ -675,9 +675,13 @@ SUITE(authentication_tests)
4baefae
         VERIFY_ARE_EQUAL(return_code, response.status_code());
4baefae
     }
25dba45
 
25dba45
+/*
4baefae
     TEST(auth_no_data) { auth_test_impl(false); }
25dba45
+*/
25dba45
 
25dba45
+/*
4baefae
     TEST(unsuccessful_auth_with_basic_cred) { auth_test_impl(true); }
25dba45
+*/
25dba45
 
4baefae
     TEST_FIXTURE(uri_address, set_user_options_asio_http)
4baefae
     {
4baefae
@@ -695,6 +699,7 @@ SUITE(authentication_tests)
4baefae
         VERIFY_ARE_EQUAL(200, response.status_code());
4baefae
     }
25dba45
 
25dba45
+/*
4baefae
     TEST_FIXTURE(uri_address, set_user_options_asio_https)
4baefae
     {
4baefae
         handle_timeout([] {
4baefae
@@ -714,6 +719,7 @@ SUITE(authentication_tests)
4baefae
             VERIFY_IS_FALSE(v.empty());
4baefae
         });
4baefae
     }
25dba45
+*/
25dba45
 
25dba45
 #endif
25dba45
 
25dba45
diff --git a/Release/tests/functional/http/client/connections_and_errors.cpp b/Release/tests/functional/http/client/connections_and_errors.cpp
8337ebe
index 847755d8..59b36b0a 100644
25dba45
--- a/Release/tests/functional/http/client/connections_and_errors.cpp
25dba45
+++ b/Release/tests/functional/http/client/connections_and_errors.cpp
8337ebe
@@ -408,6 +408,7 @@ SUITE(connections_and_errors)
4baefae
     }
25dba45
 #endif
25dba45
 
25dba45
+/*
4baefae
     // Try to connect to a server on a closed port and cancel the operation.
4baefae
     TEST_FIXTURE(uri_address, cancel_bad_port)
4baefae
     {
8337ebe
@@ -439,6 +440,7 @@ SUITE(connections_and_errors)
25dba45
 
4baefae
         VERIFY_THROWS_HTTP_ERROR_CODE(t.get(), std::errc::operation_canceled);
4baefae
     }
25dba45
+*/
25dba45
 
25dba45
 } // SUITE(connections_and_errors)
25dba45
 
f3ae4a4
diff --git a/Release/tests/functional/http/client/redirect_tests.cpp b/Release/tests/functional/http/client/redirect_tests.cpp
6a21483
index a9d41794..dd3ee290 100644
f3ae4a4
--- a/Release/tests/functional/http/client/redirect_tests.cpp
f3ae4a4
+++ b/Release/tests/functional/http/client/redirect_tests.cpp
6a21483
@@ -92,6 +92,7 @@ SUITE(redirect_tests)
6a21483
         }
6a21483
     }
6a21483
 
6a21483
+/*
6a21483
     TEST_FIXTURE(uri_address, follows_retrieval_redirect)
6a21483
     {
6a21483
         test_http_server::scoped_server scoped(m_uri);
6a21483
@@ -113,6 +114,7 @@ SUITE(redirect_tests)
6a21483
             VERIFY_NO_THROWS(reply.get());
6a21483
         }
6a21483
     }
6a21483
+*/
6a21483
 
6a21483
     TEST_FIXTURE(uri_address, obeys_max_redirects)
6a21483
     {
6a21483
@@ -160,6 +162,7 @@ SUITE(redirect_tests)
f3ae4a4
         }
f3ae4a4
     }
f3ae4a4
 
f3ae4a4
+/*
f3ae4a4
     TEST(does_not_follow_https_to_http_by_default)
f3ae4a4
     {
f3ae4a4
         handle_timeout([] {
6a21483
@@ -182,6 +185,7 @@ SUITE(redirect_tests)
f3ae4a4
             );
f3ae4a4
         });
f3ae4a4
     }
f3ae4a4
+*/
f3ae4a4
 
f3ae4a4
     TEST_FIXTURE(uri_address, follows_permanent_redirect)
f3ae4a4
     {
25dba45
diff --git a/Release/tests/functional/websockets/client/authentication_tests.cpp b/Release/tests/functional/websockets/client/authentication_tests.cpp
8337ebe
index a35949c9..7a3fd753 100644
25dba45
--- a/Release/tests/functional/websockets/client/authentication_tests.cpp
25dba45
+++ b/Release/tests/functional/websockets/client/authentication_tests.cpp
4baefae
@@ -93,6 +93,7 @@ SUITE(authentication_tests)
4baefae
         return false;
4baefae
     }
25dba45
 
25dba45
+/*
4baefae
     TEST(ssl_test)
4baefae
     {
4baefae
         websocket_client client;
4baefae
@@ -127,6 +128,7 @@ SUITE(authentication_tests)
4baefae
             throw;
4baefae
         }
25dba45
     }
25dba45
+*/
25dba45
 
4baefae
     void handshake_error_test_impl(const ::utility::string_t& host)
4baefae
     {
8337ebe
@@ -148,11 +150,17 @@ SUITE(authentication_tests)
4baefae
         }
2f76c2f
     }
2f76c2f
 
2f76c2f
+/*
4baefae
     TEST(self_signed_cert) { handshake_error_test_impl(U("wss://self-signed.badssl.com/")); }
2f76c2f
+*/
2f76c2f
 
2f76c2f
+/*
4baefae
     TEST(hostname_mismatch) { handshake_error_test_impl(U("wss://wrong.host.badssl.com/")); }
2f76c2f
+*/
2f76c2f
 
2f76c2f
+/*
4baefae
     TEST(cert_expired) { handshake_error_test_impl(U("wss://expired.badssl.com/")); }
2f76c2f
+*/
2f76c2f
 
8337ebe
 } // SUITE(authentication_tests)
2f76c2f