Skip to content

Commit ce2baff

Browse files
committed
Updating http_client outside tests to deal with timeouts from IXmlHttpRequest2.
1 parent 779d9c3 commit ce2baff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Release/tests/functional/http/client/outside_tests.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ SUITE(outside_tests)
4848
// helper function to check if failure is due to timeout.
4949
bool is_timeout(const std::string &msg)
5050
{
51-
if (msg.find("The operation timed out") != std::string::npos)
51+
if (msg.find("The operation timed out") != std::string::npos /* WinHTTP */ ||
52+
msg.find("The operation was timed out") != std::string:npos /* IXmlHttpRequest2 */)
5253
{
5354
return true;
5455
}

0 commit comments

Comments
 (0)