Issues

ZF-4573: Zend_Http_Client - Unit-Test Failure

Issue Type: Bug Created: 2008-10-12T04:32:17.000+0000 Last Updated: 2008-11-13T14:10:29.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Benjamin Eberlei (beberlei) Assignee: Shahar Evron (shahar) Tags: - Zend_Http_Client

Related issues: Attachments:

Description

Unittests fail on the Zend_Http_Client Suite:

It seems a file is missing for the Unit Test of ZF-4238, also this test has @group ZF-4238 missing.

Also the socket patches from today and yesterday seem to have broken the Unittests for Persistence and Keep Alive: SocketKeepaliveTest, SocketPersistentTest.

This is my PHPUnit output:

  1. testZF4238FalseLinesInResponse(Zend_Http_Client_SocketTest) file_get_contents(/var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/_files/ZF4238-zerolineresponse.txt): failed to open stream: No such file or directory /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:789 /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:776

  2. testHttpAuthBasic(Zend_Http_Client_SocketKeepaliveTest) Zend_Http_Client_Exception: Unable to read response, or response is empty /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:533

  3. testZF4238FalseLinesInResponse(Zend_Http_Client_SocketKeepaliveTest) file_get_contents(/var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/_files/ZF4238-zerolineresponse.txt): failed to open stream: No such file or directory /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:789 /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:776

  4. testHttpAuthBasic(Zend_Http_Client_SocketPersistentTest) Zend_Http_Client_Exception: Unable to read response, or response is empty /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:533

  5. testZF4238FalseLinesInResponse(Zend_Http_Client_SocketPersistentTest) file_get_contents(/var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/_files/ZF4238-zerolineresponse.txt): failed to open stream: No such file or directory /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:789 /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:776

  6. testZF4238FalseLinesInResponse(Zend_Http_Client_ProxyAdapterTest) file_get_contents(/var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/_files/ZF4238-zerolineresponse.txt): failed to open stream: No such file or directory /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:789 /var/www/workspace/zfcomplete/trunk/tests/Zend/Http/Client/SocketTest.php:776

Comments

Posted by Shahar Evron (shahar) on 2008-10-12T05:19:46.000+0000

Fixed in r. 11897

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:29.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts