Issues

ZF-4573: Zend_Http_Client - Unit-Test Failure

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

Fixed in r. 11897

Changing issues in preparation for the 1.7.0 release.