[
https://issues.apache.org/jira/browse/MESOS-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286664#comment-14286664
]
Jie Yu commented on MESOS-2241:
-------------------------------
Looks like the cause is because ext3 filesystem uses more blocks than ext4. The
expectation I use in the test is based on the usage on ext4.
{noformat}
[jyu@host1 tmp]$ mkdir test
[jyu@host1 tmp]$ cd test
[jyu@host1 test]$ du -k -s .
8 .
[jyu@host1 test]$ df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda1 ext3 470924340 145300540 301309428 33% /
{noformat}
{noformat}
[jyu@host2 tmp]$ mkdir test
[jyu@host2 tmp]$ cd test/
[jyu@host2 test]$ du -k -s .
4 .
[jyu@host2 test]$ df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda1 ext4 480588496 69687996 386464892 16% /
{noformat}
> DiskUsageCollectorTest.SymbolicLink test is flaky
> -------------------------------------------------
>
> Key: MESOS-2241
> URL: https://issues.apache.org/jira/browse/MESOS-2241
> Project: Mesos
> Issue Type: Bug
> Components: test
> Affects Versions: 0.22.0
> Reporter: Vinod Kone
> Assignee: Jie Yu
>
> Observed this on a local machine running linux w/ sudo.
> {code}
> [ RUN ] DiskUsageCollectorTest.SymbolicLink
> ../../src/tests/disk_quota_tests.cpp:138: Failure
> Expected: (usage1.get()) < (Kilobytes(16)), actual: 24KB vs 8-byte object
> <00-40 00-00 00-00 00-00>
> [ FAILED ] DiskUsageCollectorTest.SymbolicLink (201 ms)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)