From 045f60e2cca1d4cf8f4dc47dd4825112c8f7ecb3 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)

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

diff --git a/opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml b/opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml
index a126449..ecaac39 100755
--- a/opendj-sdk/opends/tests/system-tests/phases/scheduler/scheduler.xml
+++ b/opendj-sdk/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