[ 
https://issues.apache.org/jira/browse/DERBY-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462980
 ] 

John H. Embretsen commented on DERBY-2134:
------------------------------------------

Sttest and Scenario look like useful additions to the collection of Derby 
tests. I agree with the proposal to change the name of Scenario. The main class 
is called "MailJdbc" - perhaps this can be used as a test name unless someone 
comes up with a better name? Or "mailclient" (works better as a package name 
than "mailjdbc")...

I'm not sure what kind of comments are expected in this Jira issue - maybe 
implementation issues should wait until it has been committed? Anyway, I 
encountered a couple of issues when trying to run the tests in both embedded 
and client/server modes:


Sttest:

* Generated an awful lot of output. I ran the test for about 1 hr, and the 
output file was 4 MB (most of which was lines such as "t1 inserted row with id 
685055955"). There should be a way to tune the amount of output...

Scenario:

* Tries to write backup DB to the "/Scenario/mailbackup/" directory. I think 
this would not work on most systems unless you run (unix) as root. Should be 
more generic and configurable.
* The readme says "Make the appropriate changes for derby client or jcc , if 
you are testing the netWorkServer". I'm not sure what these changes should be, 
but here's a couple of issues I had using the client driver and the supplied 
derby.properties file:
    * The test was not able to create the schema due to authentication 
failures. When I added the user "admin" to the property file, this worked.
    * After doing the above, I got exceptions saying "Schema 'REFRESH' does not 
exist". I did not investigate further.


> Add long running System test for Derby
> --------------------------------------
>
>                 Key: DERBY-2134
>                 URL: https://issues.apache.org/jira/browse/DERBY-2134
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions: 10.2.1.6
>            Reporter: Manjula Kutty
>         Assigned To: Manjula Kutty
>             Fix For: 10.2.3.0
>
>         Attachments: Scenario.zip, Sttest.zip
>
>
> I will use this place to add 2 long running system tests for Derby.

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

        

Reply via email to