[all-commits] [llvm/llvm-project] 053b06: [lldb] Increase timeout in TestExitDuringExpression

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri May 22 03:47:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 053b0634ea93b1ed7993adf34730bd752e9d84ec
      https://github.com/llvm/llvm-project/commit/053b0634ea93b1ed7993adf34730bd752e9d84ec
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M lldb/test/API/functionalities/thread/exit_during_expression/main.c

  Log Message:
  -----------
  [lldb] Increase timeout in TestExitDuringExpression

200 microseconds is not enough time for any expression to execute
reliably. On linux, calling pthread_exit can result in call to dlopen,
which cannot complete in that time, particularly when running under a
debugger.

On linux, this test failed all the time, on macos, about two thirds of
runs were failing.  This patch increases the timeout to 100ms, which is
enough to get it passing reliably on linux, though I wouldn't be
surprised if an even bigger timeout would be needed for remote test
runs.




More information about the All-commits mailing list