On Sun, Mar 18, 2012 at 12:48 AM, Senaka Fernando <[email protected]> wrote:
> Hi Subash,
>
> Depends on the timeouts, because it takes sometime for the indexing to
> kick-in. But, the waiting time will not make a big difference from machine
> to machine, because if the number of files changed in each run is small
> (which is the case for the tests), indexing happens very fast. Can I also
> see the diff of this?
This is the original config inside <indexingConfiguration>.
<startingDelayInSeconds>300</startingDelayInSeconds>
<indexingFrequencyInSeconds>60</indexingFrequencyInSeconds>
Changed to
<startingDelayInSeconds>5</startingDelayInSeconds>
<indexingFrequencyInSeconds>5</indexingFrequencyInSeconds>
And also a Thread.sleep(10000); for both tests just before search happens.
>
> Thanks,
> Senaka.
>
>
> On Sun, Mar 18, 2012 at 12:40 AM, Subash Chaturanga <[email protected]> wrote:
>>
>> Hi Senaka,
>>
>> I locally tried $subject as you instructed. And now the content and
>> metadata search integration tests runs successfully for greg.
>>
>> There I have set startingDelayInSeconds and
>> indexingFrequencyInSeconds both to 5 seconds and add a 10sec delay for
>> tests before search takes place.
>> This works fine for me. Shall we include this to the build (which
>> should done) ? but AFAIU there can be a chance of failing those tests
>> based on the running hardware ?
>>
>>
>> Thanks
>> --
>>
>> Subash Chaturanga
>> Software Engineer
>> WSO2 Inc. http://wso2.com
>>
>> email - [email protected]
>> phone - 077 2225922
>
>
>
>
> --
> Senaka Fernando
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2 Inc.; http://wso2.com
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> P: +1 408 754 7388; ext: 51736; M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> Lean . Enterprise . Middleware
>
--
Subash Chaturanga
Software Engineer
WSO2 Inc. http://wso2.com
email - [email protected]
phone - 077 2225922
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev