fw: invoke FaceTable::remove upon Face::onFail
refs #1358
Change-Id: Ic19a88f0aea5adefbd3179de09f9f4e049922ff8
diff --git a/tests/mgmt/face-manager.cpp b/tests/mgmt/face-manager.cpp
index 80e14d7..310a425 100644
--- a/tests/mgmt/face-manager.cpp
+++ b/tests/mgmt/face-manager.cpp
@@ -81,11 +81,11 @@
m_addFired = true;
}
- virtual void
- remove(shared_ptr<Face> face)
- {
- m_removeFired = true;
- }
+// virtual void
+// remove(shared_ptr<Face> face)
+// {
+// m_removeFired = true;
+// }
virtual shared_ptr<Face>
get(FaceId id) const
@@ -100,11 +100,11 @@
return m_addFired;
}
- bool
- didRemoveFire() const
- {
- return m_removeFired;
- }
+// bool
+// didRemoveFire() const
+// {
+// return m_removeFired;
+// }
bool
didGetFire() const
@@ -292,11 +292,11 @@
return m_faceTable.didAddFire();
}
- bool
- didFaceTableRemoveFire() const
- {
- return m_faceTable.didRemoveFire();
- }
+// bool
+// didFaceTableRemoveFire() const
+// {
+// return m_faceTable.didRemoveFire();
+// }
bool
didFaceTableGetFire() const
@@ -1022,7 +1022,7 @@
destroyFace(command->getName(), options);
BOOST_REQUIRE(didCallbackFire());
- BOOST_CHECK(TestFaceTableFixture::m_faceTable.didRemoveFire());
+// BOOST_CHECK(TestFaceTableFixture::m_faceTable.didRemoveFire());
BOOST_CHECK(TestFaceTableFixture::m_faceTable.getDummyFace()->didCloseFire());
}