[all-commits] [llvm/llvm-project] 1febe2: [libcxx testing] Remove ALLOW_RETRIES from wait_fo...

David Zarzycki via All-commits all-commits at lists.llvm.org
Wed May 13 03:48:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1febe289827602ab4da2d28799c04ee9eb2bc175
      https://github.com/llvm/llvm-project/commit/1febe289827602ab4da2d28799c04ee9eb2bc175
  Author: David Zarzycki <dave at znu.io>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M libcxx/test/std/thread/futures/futures.shared_future/wait_for.pass.cpp

  Log Message:
  -----------
  [libcxx testing] Remove ALLOW_RETRIES from wait_for futures test

This test tried to verify that "wait()" returned quickly but "quick" is
impossible to define given a busy and/or slow system.

Instead, I've refactored the test to verify that `wait()` actually
waits which the old test did not verify.




More information about the All-commits mailing list