[all-commits] [llvm/llvm-project] e8f162: [lldb-dap] Addressing the order of events during d...

John Harrison via All-commits all-commits at lists.llvm.org
Mon Feb 24 14:41:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8f1623a223adf5446e9999403aa6ce827a9b6dc
      https://github.com/llvm/llvm-project/commit/e8f1623a223adf5446e9999403aa6ce827a9b6dc
  Author: John Harrison <harjohn at google.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M lldb/test/API/tools/lldb-dap/output/TestDAP_output.py
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h

  Log Message:
  -----------
  [lldb-dap] Addressing the order of events during disconnect to flush output. (#128583)

The TestDAP_ouput test is flaky due to the order of events during
shutdown. We were stopping the output and error handle redirection after
we finished the disconnect request, which can cause us to miss output
events due to timing. Moving when we stop the redirection to ensure we
have consistent output prior to disconnect responding.

Fixes #128567



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