[lldb] Increase timeout in TestExitDuringExpression
authorPavel Labath <pavel@labath.sk>
Fri, 22 May 2020 10:41:46 +0000 (12:41 +0200)
committerPavel Labath <pavel@labath.sk>
Fri, 22 May 2020 10:47:34 +0000 (12:47 +0200)
commit053b0634ea93b1ed7993adf34730bd752e9d84ec
treed6e07f7612cbf12d310460ae7c733706d82514ed
parente95ee300c0530158d86430fd82ffabd36262e862
[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.
lldb/test/API/functionalities/thread/exit_during_expression/main.c