[all-commits] [llvm/llvm-project] b53641: [lldb] Fix flakyness in TestProcessList
Pavel Labath via All-commits
all-commits at lists.llvm.org
Mon Aug 1 07:05:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b53641cb72acae8973a16c4f5567885bd3fe85c0
https://github.com/llvm/llvm-project/commit/b53641cb72acae8973a16c4f5567885bd3fe85c0
Author: Pavel Labath <pavel at labath.sk>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M lldb/test/API/commands/platform/process/list/TestProcessList.py
M lldb/test/API/commands/platform/process/list/main.cpp
Log Message:
-----------
[lldb] Fix flakyness in TestProcessList
If the test is too fast it can read the process list before the forked
child process actually manages to exec the process with the right
arguments.
Use our file-based synchronization primitives to ensure the child is
up-and-running before we fetch the process list.
More information about the All-commits
mailing list