db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4318) convert inbetween.sql to JUNIT
Date Thu, 06 Aug 2009 15:03:14 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740092#action_12740092
] 

Bryan Pendleton commented on DERBY-4318:
----------------------------------------

The DERBY-2341 comment was a red herring.

The optional 4th parameter to DatabasePropertyTestSetup.singleProperty() needs to
be set to 'true' for parameters which require a database reboot after being set.

So I changed 

        suite.addTest(DatabasePropertyTestSetup.singleProperty(
                TestConfiguration.defaultSuite(InbetweenTest.class),
                "derby.language.statementCacheSize", "0"));

to

        suite.addTest(DatabasePropertyTestSetup.singleProperty(
                TestConfiguration.defaultSuite(InbetweenTest.class),
                "derby.language.statementCacheSize", "0",true));

And now I can see that the tests are being run with statementCacheSize == 0.


> convert inbetween.sql to JUNIT
> ------------------------------
>
>                 Key: DERBY-4318
>                 URL: https://issues.apache.org/jira/browse/DERBY-4318
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Eranda Sooriyabandara
>            Assignee: Eranda Sooriyabandara
>            Priority: Minor
>         Attachments: inbetween.junit, InbetweenTest.diff, InbetweenTest.diff, InbetweenTest.diff,
InbetweenTest.diff
>
>
> conversion of inbetween.sql to JUNIT

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message