projects
/
platform
/
core
/
api
/
http.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ad922
)
gtest: change the test url for negative TC
21/257721/1
accepted/tizen/unified/20210504.041108
submit/tizen/20210430.062426
author
Seonah Moon
<seonah1.moon@samsung.com>
Fri, 30 Apr 2021 05:58:28 +0000
(14:58 +0900)
committer
Seonah 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
patch
|
blob
|
history
diff --git
a/tests/http-gtest-async.cpp
b/tests/http-gtest-async.cpp
index d3946fe61338b23622087d9e0fbecae472e9c5ca..7a22374f9e943102f3be66efe64dec3bfb4ee846 100755
(executable)
--- 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, "http
s://untrusted-root.badssl.com
");
EXPECT_EQ(HTTP_ERROR_NONE, http_transaction_submit(transaction));
HttpTestUtil::runMainLoop();