Make all timing critical tests depend on SENF_TIMING_CRITICAL_TESTS
[senf.git] / senf / Scheduler / TimerEvent.test.cc
index 6a5704a..1d3b815 100644 (file)
@@ -31,7 +31,7 @@
 #include "Scheduler.hh"
 #include <boost/bind.hpp>
 
-#include "../Utils//auto_unit_test.hh"
+#include <senf/Utils/auto_unit_test.hh>
 #include <boost/test/test_tools.hpp>
 #include <boost/random.hpp>
 
@@ -42,7 +42,7 @@ namespace {
 
     bool is_close(senf::ClockService::clock_type a, senf::ClockService::clock_type b)
     {
-        return (a<b ? b-a : a-b) < senf::ClockService::milliseconds(100);
+        return (a<b ? b-a : a-b) < senf::ClockService::milliseconds(50);
     }
     
     bool called = false;