summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Schneider2024-04-30 10:00:32 +0200
committerChristian Schneider2024-04-30 10:11:11 +0200
commit9238b32da3afc88b80b1d51a15844fa0c1e8a9f6 (patch)
tree12f9e292d9ff7226ca459be684a437f4648b0752 /test
parentc3cf4d435f0d7d2a43ee3707addf6e9794df0774 (diff)
downloaditools-9238b32da3afc88b80b1d51a15844fa0c1e8a9f6.tar.gz
itools-9238b32da3afc88b80b1d51a15844fa0c1e8a9f6.tar.bz2
itools-9238b32da3afc88b80b1d51a15844fa0c1e8a9f6.zip
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
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_url.t2
1 files changed, 1 insertions, 1 deletions
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"
),