From d5738d603cc87744e5a5aeba6eb0a883f7139b51 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Tue, 20 May 2008 12:00:59 +0000
Subject: [PATCH] ping staf on hosts to avoid staf exception

---
 opends/tests/system-tests/phases/parser/parser.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/opends/tests/system-tests/phases/parser/parser.xml b/opends/tests/system-tests/phases/parser/parser.xml
index e31c17d..c1f1953 100755
--- a/opends/tests/system-tests/phases/parser/parser.xml
+++ b/opends/tests/system-tests/phases/parser/parser.xml
@@ -71,6 +71,10 @@
       <!--========  Set some attributes to add in instance objects   ======-->
       <paralleliterate in="instances" var="instance">
         <sequence>
+          <call function="'pingStaf'">
+            { 'targetHost' : instance.getHost(),
+              'fileFd'     : NO_FILE}
+          </call>
           <call function="'getOSvariables'">
             { 'hostname' : instance.getHost() }
           </call>
@@ -145,6 +149,10 @@
       <if expr="len(clients) > 0">
         <paralleliterate in="clients" var="client">
           <sequence>
+            <call function="'pingStaf'">
+              { 'targetHost' : client.getHost(),
+                'fileFd'     : NO_FILE}
+            </call>
             <script>
               client.setLogDir('%s/client_%s_id%s' % \
               (LOG_DIR,client.getName(),client.getId()))

--
Gitblit v1.10.0