You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2011/05/24 19:55:48 UTC

[jira] [Updated] (BOOKKEEPER-1) Static variable makes tests fail

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

Flavio Junqueira updated BOOKKEEPER-1:
--------------------------------------

    Attachment: BOOKKEEPER-1.patch

It had to be something silly (thanks for the hint, Ivan). Here is a patch that works for me.

> Static variable makes tests fail
> --------------------------------
>
>                 Key: BOOKKEEPER-1
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>            Assignee: Flavio Junqueira
>         Attachments: BOOKKEEPER-1.patch, BOOKKEEPER-1.patch
>
>
> The following final static variable is causing LedgerDeleteTest to fail:
> {noformat}
> final static long LOG_SIZE_LIMIT = Long.getLong("logSizeLimit", 2 * 1024 * 1024 * 1024L);
> {noformat}
> because the test counts on the value of the variable to change and the new maven setup uses a single process by default, so the value of the variable doesn't change. 

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