summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_url_slow.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_url_slow.t b/tests/it_url_slow.t
index 68d68c1..bcc0db3 100755
--- a/tests/it_url_slow.t
+++ b/tests/it_url_slow.t
@@ -17,7 +17,7 @@ handle_server(
$start = microtime(true);
$res = ok(
- !it_url::get(array('url' => 'http://localhost:8000/long_sleep', 'timeout' => 5, 'retries' => 0)),
+ !it_url::get(array('url' => 'http://localhost:8000/long_sleep', 'timeout' => 5, 'retries' => 0, 'it_error' => false)),
'it_url::get() fails after timeout seconds with no output'
);
$res2 = is(
@@ -39,7 +39,7 @@ handle_server(
$start = microtime(true);
$res = ok(
- !it_url::get(array('url' => 'http://localhost:8000/slow_response', 'totaltimeout' => 5, 'retries' => 0)),
+ !it_url::get(array('url' => 'http://localhost:8000/slow_response', 'totaltimeout' => 5, 'retries' => 0, 'it_error' => false)),
'it_url::get() fails for response slower than totaltimeout'
);
$res2 = is(