From 39a6ccc7b7fcb7599a14f30409d22cb979300fa6 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Wed, 02 Apr 2008 10:40:08 +0000
Subject: [PATCH] add a warning when client has been killed (time exceeded)

---
 opends/tests/system-tests/phases/scheduler/scheduler.xml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/opends/tests/system-tests/phases/scheduler/scheduler.xml b/opends/tests/system-tests/phases/scheduler/scheduler.xml
index a126449..ecaac39 100755
--- a/opends/tests/system-tests/phases/scheduler/scheduler.xml
+++ b/opends/tests/system-tests/phases/scheduler/scheduler.xml
@@ -400,7 +400,17 @@
       
       </timer>
       <if expr="timerKilled == TRUE">
-        <call function="'writeEndTagOperation'">{'fileFd'  : fileFd}</call>
+        <sequence>
+          <!-- TBD: The client has been killed, we have to make sure that 
+               xml result structure is coherent... -->
+          <message>
+            'WARNING: client %s has been killed, %s is probably over loaded'%\
+            (client.getName(),client.getHost())
+          </message>
+          <!-- 
+          <call function="'writeEndTagOperation'">{'fileFd'  : fileFd}</call>
+          -->
+        </sequence>
       </if>
       
       <script>

--
Gitblit v1.10.0