File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,10 @@ if(BUILD_TESTING)
204
204
add_subdirectory (test /nlohmann-json-test )
205
205
endif ()
206
206
add_subdirectory (test /fault-injector )
207
- add_subdirectory (test /libcurl-stress-test )
207
+
208
+ if (BUILD_TRANSPORT_CURL )
209
+ add_subdirectory (test /libcurl-stress-test )
210
+ endif ()
208
211
endif ()
209
212
210
213
if (BUILD_PERFORMANCE_TESTS )
Original file line number Diff line number Diff line change @@ -27,16 +27,12 @@ void SendRequest(std::string target)
27
27
{
28
28
std::cout << target << std::endl;
29
29
/* The transport adapter must allow insecure SSL certs.
30
- If both curl and winHttp are available, curl is preferred for this test.for */
31
- # if defined(BUILD_CURL_HTTP_TRANSPORT_ADAPTER)
30
+ If both curl and winHttp are available, curl is preferred for this test*/
31
+
32
32
Azure::Core::Http::CurlTransportOptions curlOptions;
33
33
curlOptions.SslVerifyPeer = false ;
34
34
auto implementationClient = std::make_shared<Azure::Core::Http::CurlTransport>(curlOptions);
35
35
36
- #elif (BUILD_TRANSPORT_WINHTTP_ADAPTER)
37
- Azure::Core::Http::WinHttpTransportOptions winHttpOptions;
38
- auto implementationClient = std::make_shared<Azure::Core::Http::WinHttpTransport>(winHttpOptions);
39
- #endif
40
36
try
41
37
{
42
38
You can’t perform that action at this time.
0 commit comments