harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2918) Contribution of reliability test suite
Date Wed, 06 Jun 2007 07:46:26 GMT

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

George Timoshenko updated HARMONY-2918:
---------------------------------------

    Attachment: DekkerTest.java

Here is the fixed DekkerTest.

I fixed 2 problems:

1) method 'run' in case of failure returns without releasing the critical section
     So the test hangs insted of correct failure

2) as the second thread can work beween

    base.commonVar = vars[threadNum];

and 

    if (base.commonVar != vars[threanNum])

this comparison must be changed in the following way:

    if (base.commonVar != vars[0] && 
        base.commonVar != vars[1]) 
    {....




> Contribution of reliability test suite
> --------------------------------------
>
>                 Key: HARMONY-2918
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2918
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Contributions
>            Reporter: Oleg Oleinik
>            Assignee: Geir Magnusson Jr
>            Priority: Minor
>         Attachments: 9newreltests.zip, DekkerTest.java, DekkerTest.java, DekkerTest.java,
jlmanagementtest.zip, reliability_test_suite.zip, reliability_v1.zip, src4_zip1_clsload3_tests.zip,
src_4_thrd_tests_19_03_07.zip, TestDevGuide.txt, TestDevGuide.txt, xlist_implementation.zip
>
>
> Reliability test suite consisting of 72 reliability tests. Covers mainly kernel, nio,
io, net, text, zip classes functionality.

-- 
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