aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1956) test_du_diskcollector fails on macOS
Date Sun, 12 Nov 2017 20:18:00 GMT

    [ https://issues.apache.org/jira/browse/AURORA-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248981#comment-16248981
] 

Bill Farner commented on AURORA-1956:
-------------------------------------

https://reviews.apache.org/r/63746/

> test_du_diskcollector fails on macOS
> ------------------------------------
>
>                 Key: AURORA-1956
>                 URL: https://issues.apache.org/jira/browse/AURORA-1956
>             Project: Aurora
>          Issue Type: Bug
>          Components: Executor
>            Reporter: Bill Farner
>            Assignee: Bill Farner
>
> Error does not seem to reproduce on ubuntu, but fails consistently on macOS:
> {noformat}
>                          def _run_collector_tests(collector, target, wait):
>                            assert collector.value == 0
>                            collector.sample()
>                            wait()
>                            assert collector.value == 0
>                            f1 = make_file(TEST_AMOUNT_1, dir=target)
>                            wait()
>                      >     assert collector.value >= TEST_AMOUNT_1.as_(Data.BYTES)
>                      E     assert 96468992 >= 104857600.0
>                      E      +  where 96468992 = <apache.thermos.monitoring.disk.DiskCollector
object at 0x112323290>.value
>                      E      +  and   104857600.0 = <bound method Amount.as_ of Amount(100,
MB)>(<twitter.common.quantity.Data object at 0x111119e90>)
>                      E      +    where <bound method Amount.as_ of Amount(100, MB)>
= Amount(100, MB).as_
> ...skipping...
>                      E      +    and   <twitter.common.quantity.Data object at 0x111119e90>
= Data.BYTES
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message