gtest: change the test url for negative TC 21/257721/1 accepted/tizen/unified/20210504.041108 submit/tizen/20210430.062426
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 30 Apr 2021 05:58:28 +0000 (14:58 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 30 Apr 2021 05:58:35 +0000 (14:58 +0900)
In a proxy environment, HTTP response with 52 code may be returned
even if DNS resolving fails.

Change-Id: I19fbc16b86bd029066a34ab648a55de539bf14c6

tests/http-gtest-async.cpp

index d3946fe61338b23622087d9e0fbecae472e9c5ca..7a22374f9e943102f3be66efe64dec3bfb4ee846 100755 (executable)
@@ -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();