mirror of https://github.com/Icinga/icinga2.git
Fix the dictionary unit test.
This commit is contained in:
parent
98ab009b91
commit
9baa10c45f
|
@ -85,6 +85,7 @@ BOOST_AUTO_TEST_CASE(unnamed_order)
|
||||||
* inserted in. */
|
* inserted in. */
|
||||||
Value value;
|
Value value;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
ObjectLock olock(dictionary);
|
||||||
BOOST_FOREACH(tie(tuples::ignore, value), dictionary) {
|
BOOST_FOREACH(tie(tuples::ignore, value), dictionary) {
|
||||||
BOOST_CHECK(value == i);
|
BOOST_CHECK(value == i);
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in New Issue