Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-reviews-dev] GerritClientTest behind HTTP proxy

With -D... it works as a standalone junit test, but not as plugin test.

For now, that's ok for me

Thanks,
Sascha



On Fri, Nov 11, 2011 at 12:07 PM, Steffen Pingel
<steffen.pingel@xxxxxxxxxxx> wrote:
> AFAIK, the Eclipse.org Hudson server is behind an HTTP proxy as well.
> Running tests there seems to work:
> https://hudson.eclipse.org/hudson/job/mylyn-reviews-nightly/lastCompletedBuild/testReport/org.eclipse.mylyn.gerrit.tests.core.client/
>
> Generally, the WebUtil class in o.e.m.commons.net picks up proxy
> settings from Eclipse which defaults to the native proxy provider. If
> that's not working for you or if you are not running tests in a
> plug-in environment try passing Java proxy properties in the run
> configuration, e.g.:
>
>  -Dhttp.proxyHost=proxy.eclipse.org -Dhttp.proxyPort=9898
>
> Steffen
>
> On Fri, Nov 11, 2011 at 11:52 AM, Sascha Scholz <sascha.scholz@xxxxxxxxx> wrote:
>> Hi,
>>
>> I haven't managed to run the GerritClientTest behind a HTTP proxy
>> server. It tries to connect directly to the Gerrit instance and then
>> fails with "Caused by: java.net.UnknownHostException:
>> review.mylyn.org".
>>
>> Any hints where I can configure this?
>>
>> Thanks,
>> Sascha
>> _______________________________________________
>> mylyn-reviews-dev mailing list
>> mylyn-reviews-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/mylyn-reviews-dev
>>
>
>
>
> --
> Steffen Pingel
> Senior Software Developer, Eclipse Mylyn
> Mylyn Tasks Lead
> http://tasktop.com
> _______________________________________________
> mylyn-reviews-dev mailing list
> mylyn-reviews-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-reviews-dev
>


Back to the top