aboutsummaryrefslogtreecommitdiff
path: root/clang/lib
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2025-04-02 12:41:47 -0700
committerGitHub <noreply@github.com>2025-04-02 12:41:47 -0700
commitc87dc2b7d4ac0131cb97f096be522a50a4b3068b (patch)
treefd863fa7d6ba8242da4ea02dba4e4edfdcde9a08 /clang/lib
parent3bdf9a08804a5b424fd32fef3b0089f3a6db839d (diff)
downloadllvm-c87dc2b7d4ac0131cb97f096be522a50a4b3068b.zip
llvm-c87dc2b7d4ac0131cb97f096be522a50a4b3068b.tar.gz
llvm-c87dc2b7d4ac0131cb97f096be522a50a4b3068b.tar.bz2
[lldb-dap] Speed up TestDAP_Progress (#134048)
While trying to make progress on #133782, I noticed that TestDAP_Progress was taking 90 seconds to complete. This patch brings that down to 10 seocnds by making the following changes: 1. Don't call `wait_for_event` with a 15 second timeout. By the time we call this, all progress events have been emitted, which means that we're just sitting there until we hit the timeout. 2. Don't use 10 steps (= 10 seconds) for indeterminate progress. We have two indeterminate progress tests so that's 6 seconds instead of 20. 3. Don't launch the process over and over. Once we have a dap session, we can clear the progress vector and emit new progress events.
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions