Fork variant for TestStep command
[anna.git] / example / diameter / launcher / testing / TestManager.cpp
index 38916d0..6dfec1e 100644 (file)
@@ -221,8 +221,8 @@ bool TestManager::resetPool(bool hard) throw() {
 
   if (!tests()) return result;
   for (test_pool_nc_it it = a_testPool.begin(); it != a_testPool.end(); it++) {
-    it->second->reset(hard);
-    result = true;
+    if (it->second->reset(hard))
+      result = true;
   }
   //a_sessionIdTestCaseMap.clear();
   return result;