On Thu, Jul 2, 2015 at 1:10 PM, Michal Čihař michal@cihar.com wrote:
Hi
Dne Mon, 29 Jun 2015 13:31:24 +0530 Nisarg Jhaveri nisargjhaveri@gmail.com napsal(a):
Some of the tests fails when running unit tests behind proxy.
- Error in PMA_Util_Test::testGetLatestVersion
- 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 :-).
I'll look at it. :)
-- Michal Čihař | http://cihar.com | http://blog.cihar.com