From 694f29b025f9f4adc657ceba572b3188c5500787 Mon Sep 17 00:00:00 2001
From: ugaston <ugaston@localhost>
Date: Fri, 18 May 2007 10:49:53 +0000
Subject: [PATCH] Setting execution granularity at Suite level: Part 3
---
opends/tests/functional-tests/testcases/backends/restore.xml | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/backends/restore.xml b/opends/tests/functional-tests/testcases/backends/restore.xml
index 14d8328..73d870e 100755
--- a/opends/tests/functional-tests/testcases/backends/restore.xml
+++ b/opends/tests/functional-tests/testcases/backends/restore.xml
@@ -39,6 +39,8 @@
<sequence>
<script>
+ if not CurrentTestPath.has_key('group'):
+ CurrentTestPath['group']='backends'
CurrentTestPath['suite']=STAXCurrentBlock
</script>
@@ -53,7 +55,16 @@
#@TestScript restore.xml
#@TestHTMLLink http://opends.dev.java.net/
-->
-
+
+
+ <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+ file="'%s/testcases/backends/backend_setup.xml' % (TESTS_DIR)"/>
+ <call function="'backend_setup'">
+ { 'startDS' : False,
+ 'loadBackend' : True }
+ </call>
+
+
<!--- Test Case information
#@TestMarker Backend Restore Tests
#@TestName Export: Restore 1
@@ -198,7 +209,13 @@
</sequence>
</testcase>
-
+
+
+ <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+ file="'%s/testcases/backends/backend_cleanup.xml' % (TESTS_DIR)"/>
+ <call function="'backend_cleanup'"> { 'stopDS' : True } </call>
+
+
<call function="'testSuite_Postamble'"/>
</sequence>
--
Gitblit v1.10.0