Description
Error does not seem to reproduce on ubuntu, but fails consistently on macOS:
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