icinga2/test
Johannes Schmidt 1430e63e72 Give timer tests more leeway for inaccurate implementations
On Windows, waiting on system timers is notoriously inaccurate, with
short sleeps taking tens of milliseconds longer than specified.

This led to these tests to sporadically fail on the Windows GHAs with
`check 5 == counter has failed [5 != 4]`, because it couldn't get the
expected five invokations within the given tolerance of 50ms.

Currently on master, the tests check if a timer triggers five times
in 550ms with a 100ms interval, only leaving those 50ms to spare.
This commit extends the tolerance of to 75ms. This is a pretty
conservative increase (when we could have gone to 99ms), but it
might be enough to satisfy the windows GHAs.
2026-03-03 14:10:33 +01:00
..
config Remove unnecessary imports from unit test config 2016-08-28 10:41:46 +02:00
livestatus Livestatus: Fix "class" filter for log table 2015-11-26 19:15:54 +01:00
base-array.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-atomic.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-base64.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-configuration-fixture.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-convert.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-dictionary.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-fifo.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-io-engine.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-json.cpp HTTP: stream responses where appropriate 2026-02-11 09:47:39 +01:00
base-match.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-netstring.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-object-packer.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-object.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-serialize.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-shellescape.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-stacktrace.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-stream.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-string.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-testloggerfixture.hpp Merge pull request #10700 from Icinga/license-gpl3-later 2026-02-05 13:14:54 +01:00
base-timer.cpp Give timer tests more leeway for inaccurate implementations 2026-03-03 14:10:33 +01:00
base-tlsstream-fixture.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-tlsutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-tlsutility.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-type.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-utility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
base-value.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
BoostTestConfig.h.in Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
CMakeLists.txt Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
config-apply.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
config-ops.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-checkable-fixture.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-checkable-flapping.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-checkresult.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-dependencies.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-legacytimeperiod.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-macros.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-notification.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icinga-perfdata.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icingaapplication-fixture.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
icingaapplication-fixture.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatus-fixture.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
livestatus.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
methods-pluginnotificationtask.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
notification-notificationcomponent.cpp Merge pull request #10700 from Icinga/license-gpl3-later 2026-02-05 13:14:54 +01:00
remote-certificate-fixture.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote-certificate-fixture.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote-configpackageutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote-filterutility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote-httpmessage.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote-httpserverconnection.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote-httputility.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote-url.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
test-ctest.cpp Discover Boost test cases automatically after build 2025-09-10 13:48:24 +02:00
test-ctest.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
test-runner.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
utils.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
utils.hpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00