[Phpmyadmin-devel] Broken tests behind proxy

Michal Čihař michal at cihar.com
Thu Jul 2 09:40:28 CEST 2015


Hi

Dne Mon, 29 Jun 2015 13:31:24 +0530
Nisarg Jhaveri <nisargjhaveri at gmail.com> napsal(a):

> 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?

I think this makes sense to set it up from env. Can you please look at
it as you obviously have proxy to test :-).

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20150702/d90b3c2e/attachment.sig>


More information about the Developers mailing list