icinga2/test
Johannes Schmidt 503e23e723 Freeze perfdata arrays and remove locks in code using them
Since perfdata is set once when a check result is created and
never changed again, locking this is unnecessary. This avoids
components unnecessarily waiting on each other when processing
perfdata.

This fixes the locking cascade observed sometimes when the perfdata
writer work queue blocks, where it extends to a lock on the entire
check result eventually, affecting even more components.
2026-06-17 15:15:46 +02: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 Make unit-test data and cache directory unique per test 2026-03-31 16:31:49 +02: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 Add Assert-Macros for the TestLogger 2026-02-26 13:31:10 +01:00
base-timer.cpp Give base_timer/(invoke|scope) timers a 10x multiplier on Windows 2026-03-31 09:33:09 +02:00
base-tlsstream-fixture.hpp Rename EnsureCertFor to GetCertFor 2026-03-31 16:31:49 +02:00
base-tlsutility.cpp Rename EnsureCertFor to GetCertFor 2026-03-31 16:31:49 +02: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 tests: fix testbase linker error 2026-04-01 12:18:21 +02: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 Freeze perfdata arrays and remove locks in code using them 2026-06-17 15:15:46 +02: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 Move and extend ReceiveCheckResults function 2026-02-26 13:31:10 +01:00
perfdata-elasticsearchwriter.cpp Add unit-tests for PerfdataWriterConnection 2026-03-17 12:11:30 +01:00
perfdata-gelfwriter.cpp Add unit-tests for PerfdataWriterConnection 2026-03-17 12:11:30 +01:00
perfdata-graphitewriter.cpp Add unit-tests for PerfdataWriterConnection 2026-03-17 12:11:30 +01:00
perfdata-influxdbwriter.cpp Add unit-tests for PerfdataWriterConnection 2026-03-17 12:11:30 +01:00
perfdata-opentsdbwriter.cpp Add unit-tests for PerfdataWriterConnection 2026-03-17 12:11:30 +01:00
perfdata-perfdatatargetfixture.hpp Fix PerfdataWriterConnection test-cases on parallel build 2026-04-22 08:36:28 +02:00
perfdata-perfdatawriterconnection.cpp Fix PerfdataWriterConnection test-cases on parallel build 2026-04-22 08:36:28 +02:00
perfdata-perfdatawriterfixture.hpp Freeze perfdata arrays and remove locks in code using them 2026-06-17 15:15:46 +02:00
remote-certificate-fixture.cpp Generate all unit-test certificates with CN=localhost 2026-04-21 16:11:57 +02:00
remote-certificate-fixture.hpp Generate all unit-test certificates with CN=localhost 2026-04-21 16:11:57 +02: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 Add test-case for SendFile() with non-existant paths 2026-05-29 16:05:14 +02:00
remote-httpserverconnection.cpp Generate ctest fixtures for generating CA and certificates 2026-03-31 16:31:49 +02: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 Give CTestProperties a polymorphic interface 2026-03-31 16:31:49 +02:00
test-ctest.hpp Give CTestProperties a polymorphic interface 2026-03-31 16:31:49 +02:00
test-runner.cpp Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
test-thread.hpp Add TestThread class to not get unit-tests stuck in join()s 2026-02-26 13:31:10 +01:00
utils.cpp Add unit-tests for PerfdataWriterConnection 2026-03-17 12:11:30 +01:00
utils.hpp Add unit-tests for PerfdataWriterConnection 2026-03-17 12:11:30 +01:00