[ 
https://issues.apache.org/jira/browse/JCR-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729585#action_12729585
 ] 

Thomas Mueller commented on JCR-2134:
-------------------------------------

I think Marcel problem is fixed now (Marcel, could you verify this?).

testContentIdentity tries to test if only the identifier was copied, but not 
the data itself. To do that, it measures the time that is used to copy a binary 
object. It's not a good idea to do that, and specially a bad idea to use a 
fixed amount of milliseconds.

I changed the test to compare the time it takes to save one object with the 
time it takes to copy it 100 times. Now it should fail only if copying the 
object 100 times takes more than 50 times as long as saving it once.

> Data Store: avoid creating temporary files
> ------------------------------------------
>
>                 Key: JCR-2134
>                 URL: https://issues.apache.org/jira/browse/JCR-2134
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> Currently the unit test TestTwoGetStreams fails in the trunk (it worked in 
> older versions). This should be fixed. 
> Also, the data store is disabled by default, so this test doesn't run by 
> default. The data store should be enabled for testing.

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

Reply via email to