db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1572) Output from tools/derbyrunjartest.java can be mixed
Date Sun, 23 Jul 2006 08:01:15 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1572?page=all ]

Knut Anders Hatlen updated DERBY-1572:

    Attachment: 1572.diff

The attached patch fixes the issue by waiting for all output from one command to be saved
before executing the next command.

> Output from tools/derbyrunjartest.java can be mixed
> ---------------------------------------------------
>                 Key: DERBY-1572
>                 URL: http://issues.apache.org/jira/browse/DERBY-1572
>             Project: Derby
>          Issue Type: Bug
>          Components: Test, Regression Test Failure
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: 1572.diff
> tools/derbyrunjartest.java has occasionally failed in the nightlies, for instance http://www.multinet.no/~solberg/public/Apache/DerbyJvm1.4/testlog/Linux-2.6.14-1.1644_FC4_i686-i686/416774-derbyall_diff.txt
and http://www.multinet.no/~solberg/public/Apache/Derby/testlog/SunOS-5.10_i86pc-i386/416051-derbyall_diff.txt.
> The symptom is either that the output is mixed or that parts of it is missing. This is
most likely caused by the writing of output from the forked java processes happening in separate
threads. The runtool() method only waits for the forked processes to finish, not for the output
processing. The problem would probably go away if BackgroundStreamSaver.finish() were called
from runtool().

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


View raw message