Commit a26b48aa authored by Michael Friedrich's avatar Michael Friedrich
Browse files

Remove unit test patch, applied in 2.10.4

parent b1f9589d
From 646feb76e06155f908a4dcee51144db8f05a114f Mon Sep 17 00:00:00 2001
From: "Alexander A. Klimov" <alexander.klimov@icinga.com>
Date: Tue, 26 Feb 2019 11:45:03 +0100
Subject: [PATCH] Ignore failure of unit test
base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives
---
test/base-utility.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/base-utility.cpp b/test/base-utility.cpp
index a4e9eafe4a..91c83262b0 100644
--- a/test/base-utility.cpp
+++ b/test/base-utility.cpp
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(comparepasswords_issafe)
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
disable_timing_attack_unit_test
From 646feb76e06155f908a4dcee51144db8f05a114f Mon Sep 17 00:00:00 2001
From: "Alexander A. Klimov" <alexander.klimov@icinga.com>
Date: Tue, 26 Feb 2019 11:45:03 +0100
Subject: [PATCH] Ignore failure of unit test
base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives
---
test/base-utility.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/base-utility.cpp b/test/base-utility.cpp
index a4e9eafe4a..91c83262b0 100644
--- a/test/base-utility.cpp
+++ b/test/base-utility.cpp
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(comparepasswords_issafe)
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
disable_timing_attack_unit_test
From 646feb76e06155f908a4dcee51144db8f05a114f Mon Sep 17 00:00:00 2001
From: "Alexander A. Klimov" <alexander.klimov@icinga.com>
Date: Tue, 26 Feb 2019 11:45:03 +0100
Subject: [PATCH] Ignore failure of unit test
base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives
---
test/base-utility.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/base-utility.cpp b/test/base-utility.cpp
index a4e9eafe4a..91c83262b0 100644
--- a/test/base-utility.cpp
+++ b/test/base-utility.cpp
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(comparepasswords_issafe)
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
disable_timing_attack_unit_test
From 646feb76e06155f908a4dcee51144db8f05a114f Mon Sep 17 00:00:00 2001
From: "Alexander A. Klimov" <alexander.klimov@icinga.com>
Date: Tue, 26 Feb 2019 11:45:03 +0100
Subject: [PATCH] Ignore failure of unit test
base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives
---
test/base-utility.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/base-utility.cpp b/test/base-utility.cpp
index a4e9eafe4a..91c83262b0 100644
--- a/test/base-utility.cpp
+++ b/test/base-utility.cpp
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(comparepasswords_issafe)
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
disable_timing_attack_unit_test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment