mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-08 21:17:43 +03:00
feature #192: Extra checks for host tests.
This commit is contained in:
parent
d0ccf2b962
commit
f812cce782
@ -486,8 +486,10 @@ public:
|
||||
|
||||
// Allocate a host
|
||||
oid = allocate(0);
|
||||
CPPUNIT_ASSERT(oid >= 0);
|
||||
|
||||
host = hp->get(0, false);
|
||||
CPPUNIT_ASSERT(host != 0);
|
||||
|
||||
rc = hp->allocate_cluster(&clid, "cluster_a");
|
||||
CPPUNIT_ASSERT( rc == 1 );
|
||||
@ -518,8 +520,10 @@ public:
|
||||
|
||||
// Allocate a host
|
||||
oid = allocate(0);
|
||||
CPPUNIT_ASSERT(oid >= 0);
|
||||
|
||||
host = hp->get(0, false);
|
||||
CPPUNIT_ASSERT(host != 0);
|
||||
|
||||
rc = hp->allocate_cluster(&clid, "cluster_a");
|
||||
CPPUNIT_ASSERT( rc == 1 );
|
||||
|
Loading…
Reference in New Issue
Block a user