From 0c0d8a3e03dba9b2dc91092cdd95ed446a06676b Mon Sep 17 00:00:00 2001
From: Benjamin Blanc <benjamin.blanc@tiolive.com>
Date: Fri, 23 Aug 2013 15:45:23 +0200
Subject: [PATCH] testnode: add logs

---
 erp5/util/testnode/ScalabilityTestRunner.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/erp5/util/testnode/ScalabilityTestRunner.py b/erp5/util/testnode/ScalabilityTestRunner.py
index 8e0ba7e522..dc9a5ac409 100644
--- a/erp5/util/testnode/ScalabilityTestRunner.py
+++ b/erp5/util/testnode/ScalabilityTestRunner.py
@@ -430,6 +430,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
     return {'status_code' : 0}
 
   def _cleanUpOldInstance(self):
+    self.log("_cleanUpOldInstance")
     # Get link list of instances to delete
     instance_dict = self.slapos_communicator.getHostingSubscriptionDict()
     instance_to_delete_list = []
@@ -453,6 +454,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
             computer_guid=instance_information_dict['computer_guid'],
             state='destroyed'
         )
+        self.log("Instance '%s' deleted." %instance_information_dict['title'])
 
   def _cleanUpNodesInformation(self):
     self.involved_nodes_computer_guid = []
-- 
2.30.9