[all-commits] [llvm/llvm-project] a114f1: [lldb] Deflake TestTsanBasic.py

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Nov 23 08:55:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a114f151930d29967963fd22f328a906638a2818
      https://github.com/llvm/llvm-project/commit/a114f151930d29967963fd22f328a906638a2818
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-11-23 (Tue, 23 Nov 2021)

  Changed paths:
    M lldb/test/API/functionalities/tsan/basic/main.c

  Log Message:
  -----------
  [lldb] Deflake TestTsanBasic.py

The test flaked on bots:
http://green.lab.llvm.org/green/job/lldb-cmake/38666/
The test expects that tsan will detect a single race
with concurrent memory accesses. TSan doesn't do this reliably.
Run 100 iterations of the racing threads, which should
make the race much more likely to be detected.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114444




More information about the All-commits mailing list