The memory region tests have been consistently timing on the ASAN

bot.  This happens because they are building a long result into
a Python string, and the asan checker is making that very slow.

The last two tests here are both slow, but the 'test_command' is the
really slow one.  I'm going to start disabling just that one and see
if that gets the ASAN bots clean.
This commit is contained in:
Jim Ingham 2022-08-09 12:49:43 -07:00
parent c2c5c39c40
commit 0c86fbb557

View File

@ -37,6 +37,11 @@ class MemoryCommandRegion(TestBase):
self.runCmd("run", RUN_SUCCEEDED)
# This test builds a large result string in such a way that when run
# under ASAN the test always times out. Most of the time is in the asan
# checker under PyUnicode_Append.
# This seems to be a worst-case scenario for ASAN performance.
@skipIfAsan
def test_command(self):
self.setup_program()
@ -119,4 +124,4 @@ class MemoryCommandRegion(TestBase):
"Unexpected overlapping memory region found.")
previous_base = region_base
previous_end = region_end
previous_end = region_end