Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1956

test_du_diskcollector fails on macOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.20.0
    • Executor
    • None

    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
      

      Attachments

        Activity

          People

            wfarner Bill Farner
            wfarner Bill Farner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: