From: Seonah Moon Date: Fri, 30 Apr 2021 05:58:28 +0000 (+0900) Subject: gtest: change the test url for negative TC X-Git-Tag: submit/tizen/20210430.062426^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e8647a6e53cfd8d7e641beeec9ef89d5cca7ced;p=platform%2Fcore%2Fapi%2Fhttp.git gtest: change the test url for negative TC In a proxy environment, HTTP response with 52 code may be returned even if DNS resolving fails. Change-Id: I19fbc16b86bd029066a34ab648a55de539bf14c6 --- diff --git a/tests/http-gtest-async.cpp b/tests/http-gtest-async.cpp index d3946fe..7a22374 100755 --- a/tests/http-gtest-async.cpp +++ b/tests/http-gtest-async.cpp @@ -122,7 +122,7 @@ static void _progress_resume_cb(http_transaction_h http_transaction, TEST_F(HttpAsyncTest, SubmitN) { - http_transaction_request_set_uri(transaction, "http://aaaa.bbbb.cccc"); + http_transaction_request_set_uri(transaction, "https://untrusted-root.badssl.com"); EXPECT_EQ(HTTP_ERROR_NONE, http_transaction_submit(transaction)); HttpTestUtil::runMainLoop();