diff --git a/tests/commands/heap.py b/tests/commands/heap.py index e44ab54a3..bd5314945 100644 --- a/tests/commands/heap.py +++ b/tests/commands/heap.py @@ -143,14 +143,14 @@ def test_cmd_heap_chunks_max_size_filter(self): def test_cmd_heap_chunks_with_count(self): cmd = "heap chunks --count 1" - target = _target("heap") + target = debug_target("heap") self.assertFailIfInactiveSession(gdb_run_cmd(cmd, target=target)) res = gdb_run_silent_cmd(cmd, target=target) self.assertNoException(res) self.assertIn("Chunk(addr=", res) cmd = "heap chunks --count 0" - target = _target("heap") + target = debug_target("heap") self.assertFailIfInactiveSession(gdb_run_cmd(cmd, target=target)) res = gdb_run_silent_cmd(cmd, target=target) self.assertNoException(res)