summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/aws-sdk-cpp-disable-networking-tests.patch
blob: 3b582d96287b7b6315e4c4089699d5c89f19b5f7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- a/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp
+++ b/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp
@@ -92,12 +92,12 @@ TEST(HttpClientTest, TestRandomURLWithNoProxy)
     makeRandomHttpRequest(httpClient, false);
 }
 
-TEST(HttpClientTest, TestRandomURLWithProxy)
-{
-    ClientConfiguration configuration = makeClientConfigurationWithProxy();
-    auto httpClient = CreateHttpClient(configuration);
-    makeRandomHttpRequest(httpClient, true); // we expect it to try to use proxy that is invalid
-}
+//TEST(HttpClientTest, TestRandomURLWithProxy)
+//{
+//    ClientConfiguration configuration = makeClientConfigurationWithProxy();
+//    auto httpClient = CreateHttpClient(configuration);
+//    makeRandomHttpRequest(httpClient, true); // we expect it to try to use proxy that is invalid
+//}
 
 TEST(HttpClientTest, TestRandomURLWithProxyAndDeclaredAsNonProxyHost)
 {
@@ -119,14 +119,14 @@ TEST(HttpClientTest, TestRandomURLWithProxyAndDeclaredParentDomainAsNonProxyHost
     makeRandomHttpRequest(httpClient, false);
 }
 
-TEST(HttpClientTest, TestRandomURLWithProxyAndOtherDeclaredAsNonProxyHost)
-{
-    ClientConfiguration configuration = makeClientConfigurationWithProxy();
-    configuration.nonProxyHosts = Aws::Utils::Array<Aws::String>(1);
-    configuration.nonProxyHosts[0] = "http://test.non.filtered.aws";
-    auto httpClient = CreateHttpClient(configuration);
-    makeRandomHttpRequest(httpClient, true);
-}
+//TEST(HttpClientTest, TestRandomURLWithProxyAndOtherDeclaredAsNonProxyHost)
+//{
+//    ClientConfiguration configuration = makeClientConfigurationWithProxy();
+//    configuration.nonProxyHosts = Aws::Utils::Array<Aws::String>(1);
+//    configuration.nonProxyHosts[0] = "http://test.non.filtered.aws";
+//    auto httpClient = CreateHttpClient(configuration);
+//    makeRandomHttpRequest(httpClient, true);
+//}
 
 // TODO: Pending Fix on Windows.
 #if ENABLE_CURL_CLIENT