The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.96k
stars
1.65k
forks
source link
Cpprestsdk failed to run run "httpclient_test" test on release and debug configuration with MSVC on windows x86 and x64 #1689
The MSVC team recently test Cpprestsdk project failed to run "httpclient_test" test on release and debug configuration on Windows_x86 and windows_x64. Below are details of this issue:
Describe the bug
Cpprestsdk failed to run run "httpclient_test" test on release and debug configuration with MSVC on windows x86 and x64. Could you please help look at this issue or provide some workarounds? Thanks in advance.
Error message outside_tests:server_hostname_host_override_after_upgrade FAILED
Finished running all 206 tests.
Took 56066ms
Start 2: httplistener_test
2/8 Test #2: httplistener_test ................ Passed 6.92 sec
Start 3: json_test
3/8 Test #3: json_test ........................ Passed 0.07 sec
Start 4: pplx_test
4/8 Test #4: pplx_test ........................ Passed 0.85 sec
Start 5: streams_test
5/8 Test #5: streams_test ..................... Passed 3.29 sec
Start 6: uri_test
6/8 Test #6: uri_test ......................... Passed 0.06 sec
Start 7: utils_test
7/8 Test #7: utils_test ....................... Passed 0.07 sec
Start 8: websocketsclient_test
8/8 Test #8: websocketsclient_test ............ Passed 9.96 sec
88% tests passed, 1 tests failed out of 8
Total Test time (real) = 193.32 sec
The following tests FAILED:
1 - httpclient_test (Failed)
Errors while running CTest
Expected behavior
For Cpprestsdk x86 and x64, "httpclient_test" test should be run pass on the windows.
Hi All,
The MSVC team recently test Cpprestsdk project failed to run "httpclient_test" test on release and debug configuration on Windows_x86 and windows_x64. Below are details of this issue:
Describe the bug Cpprestsdk failed to run run "httpclient_test" test on release and debug configuration with MSVC on windows x86 and x64. Could you please help look at this issue or provide some workarounds? Thanks in advance.
Error message outside_tests:server_hostname_host_override_after_upgrade FAILED Finished running all 206 tests. Took 56066ms Start 2: httplistener_test 2/8 Test #2: httplistener_test ................ Passed 6.92 sec Start 3: json_test 3/8 Test #3: json_test ........................ Passed 0.07 sec Start 4: pplx_test 4/8 Test #4: pplx_test ........................ Passed 0.85 sec Start 5: streams_test 5/8 Test #5: streams_test ..................... Passed 3.29 sec Start 6: uri_test 6/8 Test #6: uri_test ......................... Passed 0.06 sec Start 7: utils_test 7/8 Test #7: utils_test ....................... Passed 0.07 sec Start 8: websocketsclient_test 8/8 Test #8: websocketsclient_test ............ Passed 9.96 sec
88% tests passed, 1 tests failed out of 8
Total Test time (real) = 193.32 sec
The following tests FAILED: 1 - httpclient_test (Failed) Errors while running CTest
Expected behavior For Cpprestsdk x86 and x64, "httpclient_test" test should be run pass on the windows.
To Reproduce on Windows
Setup VS 2019 + Windows Server 2019
Additional context test logs test.log test.log.2.txt test.log.4.txt