Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4557

test_alloc_fail.py is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.8.0
    • Impala 2.8.0
    • Backend

    Description

      An expected exception wasn't thrown in test_alloc_fail.py. It has happened twice recently.
      The crash in the test infrastructure code is due to the fact that it's expecting test_section['CATCH'] to be strings but it's in fact a list of strings. The flakiness in the test may be due to how the stress counter in free-pool.h is updated racily.

      select ndv(l_partkey), distinctpc(l_suppkey) from tpch.lineitem;
      
      12:52:45         if 'CATCH' in test_section:
      12:52:45 >         assert test_section['CATCH'].strip() == ''
      12:52:45 E         AttributeError: 'list' object has no attribute 'strip'
      

      Attachments

        Activity

          People

            kwho Michael Ho
            kwho Michael Ho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: