summaryrefslogtreecommitdiff
path: root/tests/it_url_slow.t
diff options
context:
space:
mode:
authorNathan Gass2017-08-16 15:06:26 +0200
committerNathan Gass2017-08-16 15:06:26 +0200
commit82100af39d3f4efbb83f37e8e4b08bd93b506879 (patch)
tree37b852deb382b95f45a18c8166536d0ec8f0e7f4 /tests/it_url_slow.t
parentc1f2423a7f294737129b913b1367a7e43a491089 (diff)
downloaditools-82100af39d3f4efbb83f37e8e4b08bd93b506879.tar.gz
itools-82100af39d3f4efbb83f37e8e4b08bd93b506879.tar.bz2
itools-82100af39d3f4efbb83f37e8e4b08bd93b506879.zip
disable new expected errors
Diffstat (limited to 'tests/it_url_slow.t')
-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(