diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-16 18:33:00 +0100 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-16 18:33:00 +0100 | 
| commit | 21e39758b18049440280664afee8131f8f795525 (patch) | |
| tree | d868c446d5bc4293cedaba0a8a693fb5c6d44fd7 /test | |
| parent | 30e1c8d1e6b232b5a8a3ad8c1926a138c9249f7e (diff) | |
Increase threshold in semaphore test for timedwait in order to have it succeed on FreeBSD.
Diffstat (limited to 'test')
| -rw-r--r-- | test/semaphoretest.cc | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/semaphoretest.cc b/test/semaphoretest.cc index 3211930..1c137c4 100644 --- a/test/semaphoretest.cc +++ b/test/semaphoretest.cc @@ -67,7 +67,7 @@ public:  			// Allow +/-1ms skew  			CPPUNIT_ASSERT(dist((stop - start), std::chrono::milliseconds(1000)) -			               < std::chrono::milliseconds(1)); +			               < std::chrono::milliseconds(60));  		}  		{ // 100ms timeout @@ -78,7 +78,7 @@ public:  			// Allow +/-1ms skew  			CPPUNIT_ASSERT(dist((stop - start), std::chrono::milliseconds(100)) -			               < std::chrono::milliseconds(1)); +			               < std::chrono::milliseconds(60));  		}  	}  }; | 
