Hi Karan,

the goal is to install schemas only once. Unfortunately, you run into a bug. It appears, that there is an exception during tear down when you run the test the first time.

Please file a JIRA issue. I'll look into this issue tomorrow.

Regards,
Michael

Thanks Michael,

Also, do i have to installSchema for all inheritance configuration after each test run? This is because for relationship tests i know i just need to installSchema once, but for inheritance tests , the moment i run the test the second time, i get a primary key / duplicate key exception.



Michael Watzek wrote:

Hi Karan,

you may install a schema of a particular configuration executing

maven -Djdo.tck.cfglist=<configuration> InstallSchema

Replace <configuration> by a configuration file name which you find in "test/conf". All configuration files have the suffix ".conf".

If you want to install a particular schema for application identity, then execute

maven -Djdo.tck.cfglist=<configuration> -Djdo.tck.identitytypes=applicationidentity InstallSchema

Does this help?

Regards,
Michael

Is there a property for the installSchema goal where i can specify that i want schema1.sql of applicationIdentity to be created i.e. if i run installSchema i would like to be more specific than specifying whether i want applicationIdentity or datastoreidentity schemas to be installed.






--
-------------------------------------------------------------------
Michael Watzek                  [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------

Reply via email to