Skip to content

Commit 811d486

Browse files
committed
tests: use another web service in http_httpbin_test.v, instead of httpbin.org (which is slow and is not reliable anymore for the CI)
1 parent 9132834 commit 811d486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vlib/net/http/http_httpbin_test.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// vtest retry: 9
1+
// vtest retry: 3
22
module http
33

44
// internal tests have access to *everything in the module*
@@ -16,7 +16,7 @@ struct HttpbinResponseBody {
1616
}
1717

1818
fn http_fetch_mock(_methods []string, _config FetchConfig) ![]Response {
19-
url := 'https://httpbin.org/'
19+
url := 'https://url4e.com/httpbin/'
2020
methods := if _methods.len == 0 { ['GET', 'POST', 'PATCH', 'PUT', 'DELETE'] } else { _methods }
2121
mut config := _config
2222
mut result := []Response{}

0 commit comments

Comments
 (0)