[all-commits] [llvm/llvm-project] 72b6fc: [Support] Fix fragile ThreadPool test

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Sat Apr 25 12:06:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 72b6fcbe781b498dc81b8e24e5c3e0f29e0ae792
      https://github.com/llvm/llvm-project/commit/72b6fcbe781b498dc81b8e24e5c3e0f29e0ae792
  Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
  Date:   2020-04-25 (Sat, 25 Apr 2020)

  Changed paths:
    M llvm/unittests/Support/ThreadPool.cpp

  Log Message:
  -----------
  [Support] Fix fragile ThreadPool test

The test ThreadPoolTest.AllThreads_UseAllRessources occasionally fails on the bots: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/32015/steps/test-check-all/logs/FAIL%3A%20LLVM-Unit%3A%3AThreadPoolTest.AllThreads_UseAllRessources

This is because jobs were executed too fast on the first CPU socket, and never manage to reach the second CPU socket.

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




More information about the All-commits mailing list