From c1f1c7a2d1c4869bff5b12ff8a5da3c63f583cf1 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Thu, 10 May 2007 15:54:03 +0000
Subject: [PATCH] Fix Issue 1593 tests don't wait for task COMPLETED_SUCCESSFULLY
---
opends/tests/functional-tests/shared/functions/dsadm.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/tests/functional-tests/shared/functions/dsadm.xml b/opends/tests/functional-tests/shared/functions/dsadm.xml
index f9aa011..1f4b5d1 100755
--- a/opends/tests/functional-tests/shared/functions/dsadm.xml
+++ b/opends/tests/functional-tests/shared/functions/dsadm.xml
@@ -33,7 +33,7 @@
This function configures a Directory Server using a script
</function-prolog>
<function-map-args>
- <function-arg-def name="location" type="optional" default="'%s' % STAXServiceMachine">
+ <function-arg-def name="location" type="optional" default="'%s' % STAF_REMOTE_HOSTNAME">
<function-arg-description>
Location of target host
</function-arg-description>
@@ -2359,8 +2359,8 @@
</script>
<!-- Wait for the task to be COMPLETED_SUCCESSFULLY -->
- <script>RC=1</script>
- <loop from="1" to="5" while="RC != 0">
+ <script>taskRC=1</script>
+ <loop from="1" to="5" while="taskRC != 0">
<sequence>
<message>
@@ -2391,7 +2391,7 @@
<if expr='re.search(searchre, result) != None'>
<sequence>
- <script>RC=0</script>
+ <script>taskRC=0</script>
<message>
'%s' % searchResult
</message>
--
Gitblit v1.10.0