incubator-any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: CrawlerCli fails in integration tests
Date Thu, 19 Apr 2012 20:46:32 GMT
Just ignore that I am tripping.

I didn't realise that plugins were at different 1.0.X versions... sorry

Lewis

On Thu, Apr 19, 2012 at 9:33 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:

> Hi Guys,
>
> I noticed that the integration-test/pom.xml has incorrect versions of ALL
> plugins in there. My tests were failing locally, but after changing the
> plugin versions they still fail. This should be committed though as the
> pom.xml is incorrect.
>
> Fingers crossed.
>
>
> On Thu, Apr 19, 2012 at 10:21 AM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
>> Hi Michele,
>>
>> Apologies for not getting back. Please see some responses below.
>>
>> On Mon, Apr 16, 2012 at 9:24 AM, Michele Mostarda <
>> michele.mostarda@gmail.com> wrote:
>>
>>> Some tests require complex resources like a web server to be performed:
>>> the crawler needs a full site, some tests perform assertions on HTTP
>>> requests, that's why we relied for that tests on external resources.
>>> For this reason we introduced org.apache.any23.Any23OnlineTestBase which
>>> defines a "any23.online.test.disabled" that allow to disable
>>> online tests passing a system property.
>>>
>>
>> I think this sounds like as close to a great solution as we could hope
>> for and I think it should stay this way, however this being said, this also
>> means that we need to accept that the tests may become 'unstable' at any
>> given time... this is however not to say that the trunk source code is
>> unstable, just that web services may not be available to perform the tests
>> correctly! I think it's about weighing both sides of the coin.
>>
>>
>>>
>>> Any improvement to smooth this problem is welcome!
>>>
>>
>> Yeah... unfortunately based on what you've said above I don't have a
>> eureka idea just now ;0) maybe later on.
>>
>> Anyway, regarding the bastard PluginIT#testDetectCLIPlugins...
>>
>> Can someone please explain to me the absence of CRAWLER_DEPENDENCY_DIR in
>> the basic-crawler/target workspace [0]?
>> I can clearly see CRAWLER_TARGET_DIR...
>>
>> Currently the tests fails @ line 109 assertEquals(7 + 1,
>> toolClasses.size()); with the following stack trace [2]
>>
>> This seems to be a rather annoying long standing issue... I've not really
>> got on top of it at all.
>>
>> Lewis
>>
>> [0]
>> https://builds.apache.org/job/Any23-trunk/ws/plugins/basic-crawler/target/
>> [1]
>> https://builds.apache.org/job/Any23-trunk/ws/plugins/basic-crawler/target/classes/
>> [2]
>> https://builds.apache.org/job/Any23-trunk/org.apache.any23.plugin$any23-integration-test/175/testReport/org.apache.any23.plugin/PluginIT/testDetectCLIPlugins/
>>
>>
>>
>
>
> --
> *Lewis*
>
>


-- 
*Lewis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message