summaryrefslogtreecommitdiff
path: root/test/semaphoretest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-08 19:41:41 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-08 19:41:41 +0100
commitb53334cdce50e368144308386684b80ceed18120 (patch)
tree49204893243713691363633b8054dfae1a5e2236 /test/semaphoretest.cc
parent18b3c71d48c131d34c15dd9e81692ff2622bff37 (diff)
Revert: 'Be verbose about the sem_wait timeout.'
Diffstat (limited to 'test/semaphoretest.cc')
-rw-r--r--test/semaphoretest.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/semaphoretest.cc b/test/semaphoretest.cc
index 9c9d116..3211930 100644
--- a/test/semaphoretest.cc
+++ b/test/semaphoretest.cc
@@ -64,8 +64,6 @@ public:
bool res = sem.wait(std::chrono::milliseconds(1000));
CPPUNIT_ASSERT(!res); // false means timeout
auto stop = std::chrono::steady_clock::now();
- auto d = dist((stop - start), std::chrono::milliseconds(1000));
- printf("%lld\n", d.count());
// Allow +/-1ms skew
CPPUNIT_ASSERT(dist((stop - start), std::chrono::milliseconds(1000))