Hello Heshan,

Thank you for interesting in Airavata.

Yes, you need to setup jackrabbit on your machine to pass the test at the
current code.
However, the default configuration for test cases should use in-memory
database instead of persistent one.

Could you submit a JIRA ticket for the issue?

For workaround without a jackrabbit binary, you need to change
modules/gfac-core/src/test/resources/service.properties from airavata/trunk.

comment these 2 lines:

jcr.class=org.apache.jackrabbit.rmi.repository.RmiRepositoryFactory
org.apache.jackrabbit.repository.uri=http://localhost:8080/rmi

and uncomment this line:
#jcr.class=org.apache.jackrabbit.core.RepositoryFactoryImpl

On Fri, Aug 19, 2011 at 3:34 PM, Heshan Suriyaarachchi <
[email protected]> wrote:

> Hi Devs,
>
> I checked out and built the Airavata trunk successfully without tests. But
> when I ran the build with tests, I can see test failures. I am getting a
> test failure in
> org.apache.airavata.core.gfac.services.impl.PropertiesBasedServiceImplTest.
>
> I had a look at the test and I'm guessing I need to setup jackrabbit in my
> machine inorder for this test to be successful. I am new to this project
> and
> please correct me if I am wrong.
>
> If so what are the other third party projects that is used by airavata? It
> will help me to set them up locally and see.
>
> --
> Regards,
> Heshan Suriyaarachchi
>
> http://heshans.blogspot.com/
>



-- 
Best Regards,
Patanachai Tangchaisin

Reply via email to