[ 
https://issues.apache.org/jira/browse/RIVER-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994146#comment-12994146
 ] 

Patricia Shanahan commented on RIVER-391:
-----------------------------------------

The original failure was a timeout in the QA test process because of not 
finding expected JavaSpace entries. 

During debug of that, an earlier version of the attached FastListTest.java 
demonstrated two forms of failure:

1. Missing entries.

2. NullPointerException in the FastList head method.

The first of these two failures is the dominant failure form for the attached 
FastListTest.

Both failures could be caused by linkage errors in the FastList linked list. 
After some attempt at debug, a new version of FastList that appears more robust 
was written using JDK 5 features.

However, that did not fix all cases of QA test failure, and an additional bug 
was found. The constructors for some non-final test classes attempt to protect 
a static sequence number generator by synchronizing on the Class object for the 
object under construction. That is ineffective, because the object under 
construction may belong to a subclass with its own Class object.

Fixing that bug resolved the original QA test failures, but was not relevant to 
the FastListTest failures.



> Outrigger failure under stress
> ------------------------------
>
>                 Key: RIVER-391
>                 URL: https://issues.apache.org/jira/browse/RIVER-391
>             Project: River
>          Issue Type: Bug
>          Components: com_sun_jini_outrigger
>    Affects Versions: River_2.1.2
>            Reporter: Patricia Shanahan
>             Fix For: River_2.1.3
>
>         Attachments: FastListTest.java
>
>
> Hudson produced a single QA failure running 
> com/sun/jini/test/impl/outrigger/matching/StressTestWithShutdown.td. The 
> frequency can be increased by increasing the degree of stress, by adding more 
> readers, writers, and entries:
>  com.sun.jini.test.share.restart_wait=10000
> -com.sun.jini.test.impl.outrigger.matching.StressTest.num_entries=1000
> -com.sun.jini.test.impl.outrigger.matching.StressTest.num_readers=13
> -com.sun.jini.test.impl.outrigger.matching.StressTest.num_writers=7
> +com.sun.jini.test.impl.outrigger.matching.StressTest.num_entries=10000
> +com.sun.jini.test.impl.outrigger.matching.StressTest.num_readers=500
> +com.sun.jini.test.impl.outrigger.matching.StressTest.num_writers=500
>  com.sun.jini.test.impl.outrigger.matching.tryShutdown=1

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to