Bill Farner created AURORA-1956:
-----------------------------------
Summary: 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)