Skip to content
Commits on Source (3)
icinga2 (2.10.3-2) unstable; urgency=medium
* Team upload.
* Add patch to fix comparepasswords_issafe test failure on i386.
* Set CTEST_OUTPUT_ON_FAILURE environment variable.
-- Bas Couwenberg <sebastic@debian.org> Fri, 01 Mar 2019 12:18:30 +0100
icinga2 (2.10.3-1) unstable; urgency=medium
* Team upload.
......
Description: Ignore failure of unit test base_utility/comparepasswords_issafe
as volatile system load may cause false negatives
Author: "Alexander A. Klimov" <alexander.klimov@icinga.com>
Origin: https://github.com/Icinga/icinga2/pull/6977/commits/646feb76e06155f908a4dcee51144db8f05a114f
Bug: https://github.com/Icinga/icinga2/issues/6987
--- a/test/base-utility.cpp
+++ b/test/base-utility.cpp
@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(comparepasswords_is
auto duration2 (steady_clock::now() - start2);
double diff = (double)duration_cast<microseconds>(duration1).count() / (double)duration_cast<microseconds>(duration2).count();
- BOOST_CHECK(0.9 <= diff && diff <= 1.1);
+ BOOST_WARN(0.9 <= diff && diff <= 1.1);
}
BOOST_AUTO_TEST_SUITE_END()
21_config_changes
postgres-checkcommand.patch
comparepasswords_issafe.patch
......@@ -7,6 +7,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
export CTEST_OUTPUT_ON_FAILURE=1
# disable unity builds for arches with low memory
ifneq (,$(findstring $(DEB_BUILD_ARCH),"armhf mips mipsel"))
UNITY_BUILD = -DICINGA2_UNITY_BUILD=Off
......