You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <de...@db.apache.org> on 2006/03/21 22:03:04 UTC

[jira] Commented: (DERBY-1133) Split jdbc4 tests so that the suite can be run independently under the embedded and DerbyNetClients like other Derby test suites

    [ http://issues.apache.org/jira/browse/DERBY-1133?page=comments#action_12371295 ] 

Kristian Waagan commented on DERBY-1133:
----------------------------------------

It is a bit unclear to me why we need to have two different suites.
Is it done to make it easier to keep the overview?

Questions:
1) Are there specific reasons why the exclude mechanisms of the test harness are not used?
Would it  work to have only one suite, then add the (currently) two tests not supposed to be run under DerbyNetClient to 'suites/DerbyNetClient.exclude', with comments describing why they are excluded?
2) Is there a flag in the harness for excluding runs for JDK 1.5?
3) Should the jdbc40 suite be added to any other suites? (derbyall and derbynetclientmats)

Great work fixing up the jdbc4  suite :)

> Split jdbc4 tests so that the suite can be run independently under the embedded and DerbyNetClients like other Derby test suites
> --------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1133
>          URL: http://issues.apache.org/jira/browse/DERBY-1133
>      Project: Derby
>         Type: Improvement
>   Components: Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Rick Hillegas
>  Attachments: bug1133.diff
>
> Right now the jdbc4 suite runs under the DerbyNetClient. However, under the covers, the tests also run themselves against the embedded client. We should fix these tests so that the whole suite can run just under DerbyNetClient or just under the embedded client.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (DERBY-1133) Split jdbc4 tests so that the suite can be run independently under the embedded and DerbyNetClients like other Derby test suites

Posted by Myrna van Lunteren <m....@gmail.com>.
On 3/21/06, Kristian Waagan (JIRA) <de...@db.apache.org> wrote:
>
>    [
> http://issues.apache.org/jira/browse/DERBY-1133?page=comments#action_12371295]
>
> Kristian Waagan commented on DERBY-1133:
> ----------------------------------------
>
> It is a bit unclear to me why we need to have two different suites.
> Is it done to make it easier to keep the overview?
>
> Questions:
> 1) Are there specific reasons why the exclude mechanisms of the test
> harness are not used?
> Would it  work to have only one suite, then add the (currently) two tests
> not supposed to be run under DerbyNetClient to
> 'suites/DerbyNetClient.exclude', with comments describing why they are
> excluded?
> 2) Is there a flag in the harness for excluding runs for JDK 1.5?


 The functionTest harness' jvm skip mechanism is really a 'runwith<jvm>'
flag, which gets padded with the 'code' for each jvm version. So,
runwithjdk15=false should work to skip a test when running with jdk 1.5.


> 3) Should the jdbc40 suite be added to any other suites? (derbyall and
> derbynetclientmats)
>
> Great work fixing up the jdbc4  suite :)
>
> > Split jdbc4 tests so that the suite can be run independently under the
> embedded and DerbyNetClients like other Derby test suites
> >
> --------------------------------------------------------------------------------------------------------------------------------
> >
> >          Key: DERBY-1133
> >          URL: http://issues.apache.org/jira/browse/DERBY-1133
> >      Project: Derby
> >         Type: Improvement
> >   Components: Test
> >     Versions: 10.2.0.0
> >     Reporter: Rick Hillegas
> >     Assignee: Rick Hillegas
> >  Attachments: bug1133.diff
> >
> > Right now the jdbc4 suite runs under the DerbyNetClient. However, under
> the covers, the tests also run themselves against the embedded client. We
> should fix these tests so that the whole suite can run just under
> DerbyNetClient or just under the embedded client.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
>
>