commit | d0654bb54ce310d9f4a21d4cdebca66732daab72 | [log] [tgz] |
---|---|---|
author | Mike Burrows <m3b@google.com> | Tue May 17 14:40:50 2016 -0700 |
committer | Mike Burrows <m3b@google.com> | Tue May 17 14:43:31 2016 -0700 |
tree | df4a3a5831f45edcd7a03efbc94199a443110568 | |
parent | bc6e36cc4ec43e21d5dbd80247cfaa1b9bcdc641 [diff] |
v.io/x/lib/nsync: fix flaky deadline test in condition variables The tests TestCVDeadline and TestCVCancel use time, since they are testing a time-dependent feature of condition variables. They sometimes fail because the scheduler fails to run threads promptly. This change count how often they miss their deadlines, and fails the test only if they miss sufficiently several times. Change-Id: Id7d6032f1e569abe24a6a67f699516c727be511c
This repository contains general purpose libraries used by the Vanadium project.