[all-commits] [llvm/llvm-project] fdfd1c: [lldb][test] Increase polling in TestInterruptThre...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Fri Jun 5 00:58:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdfd1c1344187d64b63504ea8e3662ae4936503a
      https://github.com/llvm/llvm-project/commit/fdfd1c1344187d64b63504ea8e3662ae4936503a
  Author: Raphael Isemann <rise at apple.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    M lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py

  Log Message:
  -----------
  [lldb][test] Increase polling in TestInterruptThreadNames.py (#201554)

This test runs for a very long time on my machine (11s per variation),
and nearly all of this time is spent on the 10s sleep in this function.

There are two issues here:

1. It uses the (now outdated) logic that arm64 means we have a remote
Darwin device. This is no longer true these days as Macs also run on
arm64.

2. The polling duration of 1s is still very long, and the test will
still spend all its time just waiting for this 1s sleep. A 100ms sleep
that we poll in a loop should be slow enough.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list