[Phpmyadmin-devel] Broken tests behind proxy

Nisarg Jhaveri nisargjhaveri at gmail.com
Mon Jun 29 10:01:24 CEST 2015


Hi,

Some of the tests fails when running unit tests behind proxy.
1. Error in PMA_Util_Test::testGetLatestVersion
2. Failure in PMA_ConfigTest::testCheckHTTP

The error (1) can be surely avoided if ProxyUrl is properly set. I still
trying to figure out the exact cause of failure, but looks like it is
related to proxy settings.

I could not see example of how to set cfg in `bootstrap.php` for tests.
Also, some of the tests overrides ProxyUrl cfg variable. Any workaround?

Also, how about setting default value of config variable from environmental
variable like http_proxy or similar whenever available in PMA?

Thanks.

-- 
Nisarg Jhaveri
નિસર્ગ ઝવેરી
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20150629/44484e23/attachment.html>


More information about the Developers mailing list