You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Andrei Dulceanu (JIRA)" <ji...@apache.org> on 2016/09/10 10:19:20 UTC

[jira] [Reopened] (OAK-4744) Fix tests configuration

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

Andrei Dulceanu reopened OAK-4744:
----------------------------------

When running without an Internet connection there are two tests which fail:

{code:java}
Tests run: 4, Failures: 2, Errors: 0, Skipped: 1, Time elapsed: 0.204 sec <<< FAILURE! - in org.apache.jackrabbit.oak.segment.standby.MBeanTest
testServerEmptyConfig(org.apache.jackrabbit.oak.segment.standby.MBeanTest)  Time elapsed: 0.061 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<1> but was:<2>
       	at org.apache.jackrabbit.oak.segment.standby.MBeanTest.testServerEmptyConfig(MBeanTest.java:62)

testClientEmptyConfigNoServer(org.apache.jackrabbit.oak.segment.standby.MBeanTest)  Time elapsed: 0.055 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<1> but was:<2>
       	at org.apache.jackrabbit.oak.segment.standby.MBeanTest.testClientEmptyConfigNoServer(MBeanTest.java:84)
{code}

> Fix tests configuration
> -----------------------
>
>                 Key: OAK-4744
>                 URL: https://issues.apache.org/jira/browse/OAK-4744
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: segment-tar
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>             Fix For: Segment Tar 0.0.12
>
>         Attachments: OAK-4744-01.patch, OAK-4744-02.patch, OAK-4744-03.patch
>
>
> Although lots of tests use {{FileStore.getStats().getApproximateSize()}}, there is no configuration added to {{FileStore}} instance to accommodate this. All instances of {{FileStore}} should be configured to use a {{StatisticsProvider}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)