1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

feature-#192: Testing is not multithread, so removing locks as it masks some errors

This commit is contained in:
Tino Vázquez 2010-05-03 19:28:32 +02:00
parent 56e49136e0
commit 445a92b5a1

View File

@ -298,7 +298,7 @@ public:
oid = allocate(0);
CPPUNIT_ASSERT( oid != -1 );
vm = vmp->get(oid, true);
vm = vmp->get(oid, false);
CPPUNIT_ASSERT( vm != 0 );
// Add a history item
@ -317,8 +317,6 @@ public:
CPPUNIT_ASSERT( rc == 0 );
vm->unlock();
// Clean the DB cache
pool->clean();