[Phpmyadmin-devel] Broken tests behind proxy

Nisarg Jhaveri nisargjhaveri at gmail.com
Thu Jul 2 09:52:32 CEST 2015


On Thu, Jul 2, 2015 at 1:10 PM, Michal Čihař <michal at cihar.com> wrote:

> 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 :-).
>

I'll look at it. :)


> --
>         Michal Čihař | http://cihar.com | http://blog.cihar.com
>
>

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


More information about the Developers mailing list