[all-commits] [llvm/llvm-project] 045fc4: [lldb] Fix flaky test_expr_with_fork_trap by incre...

Philip DePetro via All-commits all-commits at lists.llvm.org
Wed Jul 29 14:22:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 045fc453c8ccf78b1ccc0bd6b63a719645311cec
      https://github.com/llvm/llvm-project/commit/045fc453c8ccf78b1ccc0bd6b63a719645311cec
  Author: Philip DePetro <pdepetro at meta.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M lldb/test/API/commands/expression/expr-with-fork/TestExprWithFork.py

  Log Message:
  -----------
  [lldb] Fix flaky test_expr_with_fork_trap by increasing expression timeout (#212574)

The test evaluates an expression that forks a child which returns
normally (triggering SIGTRAP from the JIT wrapper trap at _start). The
parent blocks in waitpid() until the detached child terminates. With the
default 250ms expression timeout, the kernel sometimes doesn't schedule
the detached child fast enough, causing waitpid() to still be blocking
when the timeout fires and the expression gets interrupted.

Set a 5-second expression timeout to give the kernel ample time to
schedule the detached child process.



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