[ 
https://issues.apache.org/jira/browse/DERBY-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Hillegas updated DERBY-6533:
---------------------------------

    Attachment: derby-6533-03-timerThread.diff

Attaching derby-6533-03-timerThread.diff. This patch adds another knob to 
NsTest, allowing you to set a time limit for the test.

The new usage is

{noformat}
Usage:

    java org.apache.derbyTesting.system.nstest.NsTest [ DerbyClient | Embedded 
[ small ] ]

If no arguments are specified, the test defaults to a client/server 
configuration (DerbyClient)

The following flags can be set:

    -Dderby.nstest.backupRestore=false    Turns off backup, restore, and 
re-encryption.

    -Dderby.nstest.outputFile=fileName    Redirects output and errors to a file.

    -Dderby.nstest.justCountErrors=true    Makes the test run quietly at 
steady-state, counting errors, and printing a summary at the end.

    -Dderby.nstest.durationInMinutes=$number    Run for this number of minutes.
{noformat}


Touches the following files:

M       java/testing/org/apache/derbyTesting/system/nstest/NsTest.java
A       java/testing/org/apache/derbyTesting/system/nstest/TimerThread.java
M       java/testing/org/apache/derbyTesting/system/nstest/README.txt


> Add a quiet mode to NsTest
> --------------------------
>
>                 Key: DERBY-6533
>                 URL: https://issues.apache.org/jira/browse/DERBY-6533
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-6533-01-aa-quietMode.diff, 
> derby-6533-02-aa-sequencesAndMoreStats.diff, 
> derby-6533-02-aa-sequencesAndMoreStats.out, derby-6533-03-timerThread.diff
>
>
> Right now NsTest produces an enormous log file. This may be useful for 
> tracking down some errors. However, this can also make it hard to find the 
> signal in the noise. It would be good to turn off the chatty diagnostics 
> which report the result of every insert, update, delete, and select. A 
> summary at the end may be good enough, including a summary of the number of 
> times each kind of error (SQLState) was seen. While I'm in there, I plan to 
> make other smallish changes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to