Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 2.8.0
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'