Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] problem with testing httpclient provider

On 05/13/2012 06:57 AM, Scott Lewis wrote:
> Hi Folks,
> 
> I've figured out what's wrong with test failures on the httpclient
> filetransfer build/automated tests. The problem is that the ssl tests
> are failing to connect.  Why are they failing to connect you say? 
> That's because they the socket factory can't be created.  Why can't the
> socket factory be created?  That's because the
> org.eclipse.ecf.provider.httpclient.ssl fragment depends upon a service
> that is registered by the org.eclipse.ecf.ssl fragment.  Now, the
> o.e.e.provider.httpclient.ssl fragment is built by the
> httpclient.feature...but the org.eclipse.ecf.ssl fragment is built as
> part of the ecf core...not part of httpclient.
> 
> For reasons unclear to me the org.eclipse.ecf.ssl fragment is *not*
> included in the test runtime for the httpclient feature tests.   There
> is no direct dependency on it, but it does need to be present in the
> test environment for the httpclient ssl tests to succeed.  Is there an
> easy way to make sure that the org.eclipse.ecf.ssl fragment (from the
> target platform) is included in the test runtime?

Hi Scott,

o.e.e.filetransfer.httpclient.feature contrary to filetransfer.feature
misses to include the org.eclipse.ecf.ssl fragment. With o.e.e.ssl
included, the tests pass though. Is there any reason not so include the
fragment in the httpclient.feature?

Markus

P.S.: I moved the httpclient.feature to releng/features in the git repo.


Back to the top