diff options
Diffstat (limited to 'meta-oe/recipes-support/cpprest/cpprest-2.10.2/disable-test-timeouts.patch')
| -rw-r--r-- | meta-oe/recipes-support/cpprest/cpprest-2.10.2/disable-test-timeouts.patch | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/meta-oe/recipes-support/cpprest/cpprest-2.10.2/disable-test-timeouts.patch b/meta-oe/recipes-support/cpprest/cpprest-2.10.2/disable-test-timeouts.patch deleted file mode 100644 index 93c3e8a269..0000000000 --- a/meta-oe/recipes-support/cpprest/cpprest-2.10.2/disable-test-timeouts.patch +++ /dev/null | |||
| @@ -1,103 +0,0 @@ | |||
| 1 | Description: Some tests takes too long on slow architectures and timeouts | ||
| 2 | We can safely disable them. | ||
| 3 | e.g. | ||
| 4 | Release/tests/functional/http/client/connections_and_errors.cpp:142: error: Failure in request_timeout_microsecond: Test case timed out and is hung. Aborting all remaining test cases. Expected under 180000ms. FAILED | ||
| 5 | |||
| 6 | Index: casablanca/Release/tests/functional/http/client/connections_and_errors.cpp | ||
| 7 | =================================================================== | ||
| 8 | --- casablanca.orig/Release/tests/functional/http/client/connections_and_errors.cpp | ||
| 9 | +++ casablanca/Release/tests/functional/http/client/connections_and_errors.cpp | ||
| 10 | @@ -127,7 +127,7 @@ | ||
| 11 | // Try sending another request. | ||
| 12 | VERIFY_THROWS(client.request(methods::GET).wait(), web::http::http_exception); | ||
| 13 | } | ||
| 14 | - | ||
| 15 | +/* | ||
| 16 | TEST_FIXTURE(uri_address, request_timeout) | ||
| 17 | { | ||
| 18 | test_http_server::scoped_server scoped(m_uri); | ||
| 19 | @@ -146,7 +146,8 @@ | ||
| 20 | #endif | ||
| 21 | t.get(); | ||
| 22 | } | ||
| 23 | - | ||
| 24 | +*/ | ||
| 25 | +/* | ||
| 26 | TEST_FIXTURE(uri_address, request_timeout_microsecond) | ||
| 27 | { | ||
| 28 | pplx::task<test_request*> t; | ||
| 29 | @@ -168,7 +169,7 @@ | ||
| 30 | try { t.get(); } | ||
| 31 | catch (...) {} | ||
| 32 | } | ||
| 33 | - | ||
| 34 | +*/ | ||
| 35 | TEST_FIXTURE(uri_address, invalid_method) | ||
| 36 | { | ||
| 37 | web::http::uri uri(U("http://www.bing.com/")); | ||
| 38 | Index: casablanca/Release/tests/functional/http/listener/requests_tests.cpp | ||
| 39 | =================================================================== | ||
| 40 | --- casablanca.orig/Release/tests/functional/http/listener/requests_tests.cpp | ||
| 41 | +++ casablanca/Release/tests/functional/http/listener/requests_tests.cpp | ||
| 42 | @@ -173,7 +173,7 @@ | ||
| 43 | |||
| 44 | listener.close().wait(); | ||
| 45 | } | ||
| 46 | - | ||
| 47 | +/* | ||
| 48 | TEST_FIXTURE(uri_address, response_order) | ||
| 49 | { | ||
| 50 | http_listener listener(m_uri); | ||
| 51 | @@ -217,7 +217,7 @@ | ||
| 52 | |||
| 53 | listener.close().wait(); | ||
| 54 | } | ||
| 55 | - | ||
| 56 | +*/ | ||
| 57 | TEST_FIXTURE(uri_address, uri_encoding, "Ignore", "Codeplex 201") | ||
| 58 | { | ||
| 59 | http_listener listener(m_uri); | ||
| 60 | Index: casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp | ||
| 61 | =================================================================== | ||
| 62 | --- casablanca.orig/Release/tests/functional/websockets/client/authentication_tests.cpp | ||
| 63 | +++ casablanca/Release/tests/functional/websockets/client/authentication_tests.cpp | ||
| 64 | @@ -221,7 +221,7 @@ | ||
| 65 | VERIFY_ARE_EQUAL("TLS handshake failed", e.error_code().message()); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | - | ||
| 69 | +/* | ||
| 70 | TEST(self_signed_cert) | ||
| 71 | { | ||
| 72 | handshake_error_test_impl(U("wss://self-signed.badssl.com/")); | ||
| 73 | @@ -236,7 +236,7 @@ | ||
| 74 | { | ||
| 75 | handshake_error_test_impl(U("wss://expired.badssl.com/")); | ||
| 76 | } | ||
| 77 | - | ||
| 78 | +*/ | ||
| 79 | #endif | ||
| 80 | |||
| 81 | } // SUITE(authentication_tests) | ||
| 82 | Index: casablanca/Release/tests/functional/websockets/client/client_construction.cpp | ||
| 83 | =================================================================== | ||
| 84 | --- casablanca.orig/Release/tests/functional/websockets/client/client_construction.cpp | ||
| 85 | +++ casablanca/Release/tests/functional/websockets/client/client_construction.cpp | ||
| 86 | @@ -81,7 +81,7 @@ | ||
| 87 | VERIFY_ARE_EQUAL(config2.credentials().username(), cred.username()); | ||
| 88 | } | ||
| 89 | |||
| 90 | - | ||
| 91 | +/* | ||
| 92 | // Verify that we can get the baseuri from websocket_client connect. | ||
| 93 | TEST_FIXTURE(uri_address, uri_test) | ||
| 94 | { | ||
| 95 | @@ -101,7 +101,7 @@ | ||
| 96 | VERIFY_ARE_EQUAL(client2.uri(), m_uri); | ||
| 97 | client2.close().wait(); | ||
| 98 | } | ||
| 99 | - | ||
| 100 | +*/ | ||
| 101 | TEST_FIXTURE(uri_address, move_operations) | ||
| 102 | { | ||
| 103 | std::string body("hello"); | ||
