Commit 9833efc0 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[2414] Memory leaks in AllocEngine tests fixed.

parent 4838e909
......@@ -151,6 +151,8 @@ TEST_F(AllocEngineTest, simpleAlloc) {
// Now check that the lease in LeaseMgr has the same parameters
detailCompareLease6(lease, from_mgr);
delete engine;
}
// This test checks if the fake allocation (for SOLICIT) can succeed
......@@ -201,6 +203,8 @@ TEST_F(AllocEngineTest, allocWithValidHint) {
// Now check that the lease in LeaseMgr has the same parameters
detailCompareLease6(lease, from_mgr);
delete engine;
}
// This test checks if the allocation with a hint that is in range,
......@@ -241,6 +245,8 @@ TEST_F(AllocEngineTest, allocWithUsedHint) {
// Now check that the lease in LeaseMgr has the same parameters
detailCompareLease6(lease, from_mgr);
delete engine;
}
// This test checks if the allocation with a hint that is out the blue
......@@ -272,6 +278,8 @@ TEST_F(AllocEngineTest, allocBogusHint) {
// Now check that the lease in LeaseMgr has the same parameters
detailCompareLease6(lease, from_mgr);
delete engine;
}
// This test verifies that the allocator picks addresses that belong to the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment