You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2008/03/14 17:48:24 UTC

[jira] Created: (JCR-1478) Perform random operation tests

Perform random operation tests
------------------------------

                 Key: JCR-1478
                 URL: https://issues.apache.org/jira/browse/JCR-1478
             Project: Jackrabbit
          Issue Type: Test
          Components: jackrabbit-core
            Reporter: Marcel Reutegger
            Priority: Minor


As discussed on the mailing list and in other jira issues it makes sense to execute tests that perform random operations on the repository. This helps us detect concurrency issues in jackrabbit and increase code coverage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1478) Perform random operation tests

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578850#action_12578850 ] 

Marcel Reutegger commented on JCR-1478:
---------------------------------------

Committed a first version of tests in revision: 637157

The tests are currently disabled. If you want to run them, set RandomOperationTest#NUM_THREADS to 1 or higher.

> Perform random operation tests
> ------------------------------
>
>                 Key: JCR-1478
>                 URL: https://issues.apache.org/jira/browse/JCR-1478
>             Project: Jackrabbit
>          Issue Type: Test
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> As discussed on the mailing list and in other jira issues it makes sense to execute tests that perform random operations on the repository. This helps us detect concurrency issues in jackrabbit and increase code coverage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1478) Perform random operation tests

Posted by "Dominique Pfister (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579876#action_12579876 ] 

Dominique Pfister commented on JCR-1478:
----------------------------------------

The latest commit (revision 638362) introduced a new private variable "log" in AbstractConcurrencyTest. Unfortunately, the derived class ConcurrentReadWriteTest referenced the public variable "log" in JUnitTest (of type LogPrintWriter), which is now hidden and building jackrabbit-core fails:

/Users/dpfister/Projects/jackrabbit/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentReadWriteTest.java:[102,8] log has private access in org.apache.jackrabbit.core.AbstractConcurrencyTest



> Perform random operation tests
> ------------------------------
>
>                 Key: JCR-1478
>                 URL: https://issues.apache.org/jira/browse/JCR-1478
>             Project: Jackrabbit
>          Issue Type: Test
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> As discussed on the mailing list and in other jira issues it makes sense to execute tests that perform random operations on the repository. This helps us detect concurrency issues in jackrabbit and increase code coverage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-1478) Perform random operation tests

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-1478.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Random tests are in place and part of the DailyIntegrationTest suite.

Resolving this issue as fixed.

> Perform random operation tests
> ------------------------------
>
>                 Key: JCR-1478
>                 URL: https://issues.apache.org/jira/browse/JCR-1478
>             Project: Jackrabbit Content Repository
>          Issue Type: Test
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> As discussed on the mailing list and in other jira issues it makes sense to execute tests that perform random operations on the repository. This helps us detect concurrency issues in jackrabbit and increase code coverage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1478) Perform random operation tests

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579881#action_12579881 ] 

Marcel Reutegger commented on JCR-1478:
---------------------------------------

oops, sorry about that.

Fixed it in revision: 638393

> Perform random operation tests
> ------------------------------
>
>                 Key: JCR-1478
>                 URL: https://issues.apache.org/jira/browse/JCR-1478
>             Project: Jackrabbit
>          Issue Type: Test
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> As discussed on the mailing list and in other jira issues it makes sense to execute tests that perform random operations on the repository. This helps us detect concurrency issues in jackrabbit and increase code coverage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.