Hi,
today I tried to run unit tests with mysql, but still have failure in
the same test case - ChromatticIntegrationTestCase. (but not same
failure as before)
I only replaced db url, user and password in mysql5 profile.
I checked it with db in lab and localhost as well.
I run the tests by: mvn clean test -Pmysql5
Log is attached.
Thanks in advance for help.
Michal Vanco
Julien Viet píše v So 27. 02. 2010 v 22:55 +0100:
I have resolved GTNPORTAL-696 : "Failure in GateIn unit tests on
different DB than hsqldb", here is the status.
The component tests have now an externalized JCR database
configuration, that is defined in a maven profile in the portal parent
pom, there are a few limitations:
- mysql5 profile has been added, the URL points to the virtualbox
running mysql configured on my machine with IP 10.37.129.4 . I think
it should be possible to make it more configurable of course. I'll let
the community contribute it :-)
- modules using IDM are using a separate hsqldb database
- it is not really possible to run the tests from an aggregator pom as
the database needs to be manually cleaned up (was automatic with
hsqldb as it's in target directory)
So it should be possible for Prabhat to run unit test of gatein on
different databases.
_______________________________________________
gatein-dev mailing list
gatein-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev