[
https://issues.apache.org/jira/browse/BOOKKEEPER-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo resolved BOOKKEEPER-1003.
-----------------------------------
Resolution: Fixed
Fix Version/s: 4.5.0
Issue resolved by merging pull request 107
[https://github.com/apache/bookkeeper/pull/107]
{noformat}
commit f3671fc9f588c7a53a9b3cdd520580c45dae06e3
Author: Kishor Patil <[email protected]>
AuthorDate: Wed Mar 22 16:54:42 2017 -0700
Commit: Sijie Guo <[email protected]>
CommitDate: Wed Mar 22 16:54:42 2017 -0700
BOOKKEEPER-1003: Fix TestDiskChecker so it can be used on /dev/shm
The test generates a threshold which is negative if used on a disk where
the usable disk size is very close to the total disk size. A negative
threshold is invalid so the test fails in the wrong way. This fix stops
the threshold from going negative.
Full disclosure, most of these changes were actually done by ivankelly For
this I am mostly just putting them back into open source.
Author: Kishor Patil <[email protected]>
Reviewers: Venkateswararao Jujjuri (JV) <[email protected]>, Sijie
Guo <[email protected]>
Closes #107 from kishorvpatil/BOOKKEEPER-1003
{noformat}
> Fix TestDiskChecker so it can be used on /dev/shm
> -------------------------------------------------
>
> Key: BOOKKEEPER-1003
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1003
> Project: Bookkeeper
> Issue Type: Improvement
> Components: bookkeeper-server
> Affects Versions: 4.3.1
> Reporter: Robert Joseph Evans
> Fix For: 4.5.0
>
>
> Some file systems don't report disk usage by byte (but by block) /dev/shm is
> one of these.
> We should update the tests to be more lenient.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)