1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

feature #192: Fix allocate rc check

This commit is contained in:
Carlos Martin and Ruben S. Montero 2010-05-03 16:04:06 +02:00 committed by Ruben S. Montero
parent 63c4caec77
commit 4fc8e5673e

View File

@ -308,7 +308,7 @@ public:
rc = vnpool->allocate(uids[0], templ[i], &oid[i]);
vnet = vnpool->get(oid[i], false);
CPPUNIT_ASSERT( rc == 0 && vnet->get_size() == sizes[i] );
CPPUNIT_ASSERT( rc >= 0 && vnet->get_size() == sizes[i] );
}
vnpool->clean();