diff options
author | Nathan Gass | 2017-08-16 15:06:26 +0200 |
---|---|---|
committer | Nathan Gass | 2017-08-16 15:06:26 +0200 |
commit | 82100af39d3f4efbb83f37e8e4b08bd93b506879 (patch) | |
tree | 37b852deb382b95f45a18c8166536d0ec8f0e7f4 | |
parent | c1f2423a7f294737129b913b1367a7e43a491089 (diff) | |
download | itools-82100af39d3f4efbb83f37e8e4b08bd93b506879.tar.gz itools-82100af39d3f4efbb83f37e8e4b08bd93b506879.tar.bz2 itools-82100af39d3f4efbb83f37e8e4b08bd93b506879.zip |
disable new expected errors
-rwxr-xr-x | tests/it_url_slow.t | 4 |
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( |