Skip to content
Permalink
Browse files

Fix to http_timeouts test

  • Loading branch information...
chrisgraham committed Aug 13, 2019
1 parent 888a464 commit abc0f5a5fd48ff9bf76fb94557b5fa39a6aac06a
Showing with 1 addition and 1 deletion.
  1. +1 −1 _tests/tests/unit_tests/http_timeouts.php
@@ -49,7 +49,7 @@ public function testTimeouts()
$this->assertTrue($r3[1] >= 33505479, 'Wrong download size @ ' . strval($r3[1]));
// Test timeout being hit for something that really is timing out
$url = get_base_url() . '/_tests/sleep.php?timeout=' . float_to_raw_string($timeout);
$url = get_base_url() . '/_tests/sleep.php?timeout=' . float_to_raw_string($timeout + 2);
$r1 = $this->_testCurl($url, $timeout);
$this->assertTrue(!$r1[0]);
$this->assertTrue($r1[1] == 0, 'Wrong download size @ ' . strval($r1[1]));

0 comments on commit abc0f5a

Please sign in to comment.
You can’t perform that action at this time.