Ignore failure of unit test base_utility/comparepasswords_issafe

... as volatile system load may cause false negatives

(cherry picked from commit 646feb76e06155f908a4dcee51144db8f05a114f)
This commit is contained in:
Alexander A. Klimov 2019-02-26 11:45:03 +01:00 committed by Michael Friedrich
parent 1436b7dc1c
commit 58c2ea8a76

View File

@ -64,7 +64,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()