mirror of https://github.com/Icinga/icinga2.git
Fix unit tests.
This commit is contained in:
parent
c3975af6ec
commit
e6553a7140
|
@ -252,7 +252,7 @@ void Timer::AdjustTimers(double adjustment)
|
||||||
timer->m_Next += adjustment;
|
timer->m_Next += adjustment;
|
||||||
l_Timers.erase(timer);
|
l_Timers.erase(timer);
|
||||||
l_Timers.insert(timer);
|
l_Timers.insert(timer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Notify the worker that we've rescheduled some timers. */
|
/* Notify the worker that we've rescheduled some timers. */
|
||||||
|
|
|
@ -12,9 +12,7 @@ icinga2_test_SOURCES = \
|
||||||
|
|
||||||
icinga2_test_CPPFLAGS = \
|
icinga2_test_CPPFLAGS = \
|
||||||
$(BOOST_CPPFLAGS) \
|
$(BOOST_CPPFLAGS) \
|
||||||
-I${top_srcdir}/lib/base \
|
-I${top_srcdir}/lib
|
||||||
-I${top_srcdir}/lib/icinga \
|
|
||||||
-I${top_srcdir}
|
|
||||||
|
|
||||||
icinga2_test_LDADD = \
|
icinga2_test_LDADD = \
|
||||||
$(BOOST_LDFLAGS) \
|
$(BOOST_LDFLAGS) \
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
#include "base/dictionary.h"
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
#include <boost/smart_ptr/make_shared.hpp>
|
||||||
#include <i2-base.h>
|
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue