From 811d486733db72b7f56216cc46ccd6608e26768b Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 15 May 2025 20:36:54 +0300 Subject: [PATCH] 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) --- vlib/net/http/http_httpbin_test.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/net/http/http_httpbin_test.v b/vlib/net/http/http_httpbin_test.v index 7f8bd04bf..1e5b3aa7c 100644 --- a/vlib/net/http/http_httpbin_test.v +++ b/vlib/net/http/http_httpbin_test.v @@ -1,4 +1,4 @@ -// vtest retry: 9 +// vtest retry: 3 module http // internal tests have access to *everything in the module* @@ -16,7 +16,7 @@ struct HttpbinResponseBody { } fn http_fetch_mock(_methods []string, _config FetchConfig) ![]Response { - url := 'https://httpbin.org/' + url := 'https://url4e.com/httpbin/' methods := if _methods.len == 0 { ['GET', 'POST', 'PATCH', 'PUT', 'DELETE'] } else { _methods } mut config := _config mut result := []Response{} -- 2.39.5