From 9238b32da3afc88b80b1d51a15844fa0c1e8a9f6 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 30 Apr 2024 10:00:32 +0200 Subject: Fix is_reachable fetching always twice if content longer than 1000 bytes, make retry test having to retry more often to test that code path --- test/it_url.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/it_url.t b/test/it_url.t index 47064b5..1898d4b 100755 --- a/test/it_url.t +++ b/test/it_url.t @@ -356,7 +356,7 @@ handle_server( "failure" ), is( - it_url::get(['url' => "http://$host/maybe_error?chance=10", 'empty_on_fail' => true, 'retries' => 10]), + it_url::get(['url' => "http://$host/maybe_error?chance=25", 'empty_on_fail' => true, 'retries' => 10]), "success", "Retry on sporadically failing url in ::get" ), -- cgit v1.2.3