From 7d59da27ea7ef3fde60601c3a27ffcc7b4be2ff0 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Tue, 25 Jun 2013 13:09:47 +0000
Subject: [PATCH] CR-1908 Added basic stress on replicated topology and added add/del operation => fixed cleanup for operations testsuite => removed traces for sdk tools
---
opends/tests/staf-tests/shared/functions/sdk.xml | 150 ++++++++++++++++++++++++++-----------------------
1 files changed, 80 insertions(+), 70 deletions(-)
diff --git a/opends/tests/staf-tests/shared/functions/sdk.xml b/opends/tests/staf-tests/shared/functions/sdk.xml
index 9440bad..133bd5a 100644
--- a/opends/tests/staf-tests/shared/functions/sdk.xml
+++ b/opends/tests/staf-tests/shared/functions/sdk.xml
@@ -304,23 +304,25 @@
}
</call>
<else>
- <call function="'runCommand'">
- { 'command' : STAFCmd,
- 'arguments' : STAFCmdParams,
- 'location' : mylocation,
- 'name' : 'authrate',
- 'expectedRC' : expectedRC,
- 'knownIssue' : knownIssue
- }
- </call>
+ <sequence>
+ <call function="'runCommand'">
+ { 'command' : STAFCmd,
+ 'arguments' : STAFCmdParams,
+ 'location' : mylocation,
+ 'name' : 'authrate',
+ 'expectedRC' : expectedRC,
+ 'knownIssue' : knownIssue
+ }
+ </call>
+
+ <script>
+ for line in STAXResult[0][1].split('\n'):
+ print line
+ </script>
+ </sequence>
</else>
</if>
- <script>
- for line in STAXResult[0][1].split('\n'):
- print line
- </script>
-
<return>
STAXResult
</return>
@@ -458,23 +460,25 @@
}
</call>
<else>
- <call function="'runCommand'">
- { 'command' : STAFCmd,
- 'arguments' : STAFCmdParams,
- 'location' : mylocation,
- 'name' : 'searchrate',
- 'expectedRC' : expectedRC,
- 'knownIssue' : knownIssue
- }
- </call>
+ <sequence>
+ <call function="'runCommand'">
+ { 'command' : STAFCmd,
+ 'arguments' : STAFCmdParams,
+ 'location' : mylocation,
+ 'name' : 'searchrate',
+ 'expectedRC' : expectedRC,
+ 'knownIssue' : knownIssue
+ }
+ </call>
+
+ <script>
+ for line in STAXResult[0][1].split('\n'):
+ print line
+ </script>
+ </sequence>
</else>
</if>
- <script>
- for line in STAXResult[0][1].split('\n'):
- print line
- </script>
-
<return>
STAXResult
</return>
@@ -630,22 +634,24 @@
}
</call>
<else>
- <call function="'runCommand'">
- { 'command' : STAFCmd,
- 'arguments' : STAFCmdParams,
- 'location' : mylocation,
- 'name' : 'modrate',
- 'expectedRC' : expectedRC,
- 'knownIssue' : knownIssue
- }
- </call>
+ <sequence>
+ <call function="'runCommand'">
+ { 'command' : STAFCmd,
+ 'arguments' : STAFCmdParams,
+ 'location' : mylocation,
+ 'name' : 'modrate',
+ 'expectedRC' : expectedRC,
+ 'knownIssue' : knownIssue
+ }
+ </call>
+
+ <script>
+ for line in STAXResult[0][1].split('\n'):
+ print line
+ </script>
+ </sequence>
</else>
</if>
-
- <script>
- for line in STAXResult[0][1].split('\n'):
- print line
- </script>
<return>
STAXResult
@@ -784,22 +790,24 @@
}
</call>
<else>
- <call function="'runCommand'">
- { 'command' : STAFCmd,
- 'arguments' : STAFCmdParams,
- 'location' : mylocation,
- 'name' : 'addrate',
- 'expectedRC' : expectedRC,
- 'knownIssue' : knownIssue
- }
- </call>
+ <sequence>
+ <call function="'runCommand'">
+ { 'command' : STAFCmd,
+ 'arguments' : STAFCmdParams,
+ 'location' : mylocation,
+ 'name' : 'addrate',
+ 'expectedRC' : expectedRC,
+ 'knownIssue' : knownIssue
+ }
+ </call>
+
+ <script>
+ for line in STAXResult[0][1].split('\n'):
+ print line
+ </script>
+ </sequence>
</else>
</if>
-
- <script>
- for line in STAXResult[0][1].split('\n'):
- print line
- </script>
<return>
STAXResult
@@ -938,22 +946,24 @@
}
</call>
<else>
- <call function="'runCommand'">
- { 'command' : STAFCmd,
- 'arguments' : STAFCmdParams,
- 'location' : mylocation,
- 'name' : 'delrate',
- 'expectedRC' : expectedRC,
- 'knownIssue' : knownIssue
- }
- </call>
+ <sequence>
+ <call function="'runCommand'">
+ { 'command' : STAFCmd,
+ 'arguments' : STAFCmdParams,
+ 'location' : mylocation,
+ 'name' : 'delrate',
+ 'expectedRC' : expectedRC,
+ 'knownIssue' : knownIssue
+ }
+ </call>
+
+ <script>
+ for line in STAXResult[0][1].split('\n'):
+ print line
+ </script>
+ </sequence>
</else>
</if>
-
- <script>
- for line in STAXResult[0][1].split('\n'):
- print line
- </script>
<return>
STAXResult
--
Gitblit v1.10.0