From 441e0c614f992f1bd5537d2592fa161d6e4a8033 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Fri, 25 Aug 2006 18:01:11 +0000
Subject: [PATCH] Added backend test suite into the default tests that are run.
---
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java | 3 +--
opends/tests/integration-tests-testng/build.sh | 8 +++++++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/opends/tests/integration-tests-testng/build.sh b/opends/tests/integration-tests-testng/build.sh
index a5e050a..0eab42b 100755
--- a/opends/tests/integration-tests-testng/build.sh
+++ b/opends/tests/integration-tests-testng/build.sh
@@ -100,7 +100,7 @@
echo "Starting the build for the integration test suites"
# Execute the ant script and pass it any additional command-line arguments.
-${ANT_HOME}/bin/ant -verbose --noconfig ${*}
+${ANT_HOME}/bin/ant --noconfig ${*}
if [ $? -eq 0 ]; then
echo "Successfully built the integration test suite"
@@ -197,6 +197,7 @@
<package name="org.opends.server.integration.frontend"/>
<package name="org.opends.server.integration.schema"/>
<package name="org.opends.server.integration.security"/>
+ <package name="org.opends.server.integration.backend"/>
</packages>
<test name="precommit">
@@ -217,6 +218,7 @@
<include name="frontend"/>
<include name="schema"/>
<include name="security"/>
+ <include name="backend"/>
</define>
<define name="quickstart">
@@ -243,6 +245,10 @@
<include name="security"/>
</define>
+ <define name="backend">
+ <include name="backend"/>
+ </define>
+
<run>
<include name="all"/>
</run>
diff --git a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java
index 5b0804f..445a1fc 100644
--- a/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java
+++ b/opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java
@@ -40,8 +40,7 @@
* Setup for backend tests
*/
@Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" })
- @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.schema.SchemaRFCTests.testSchemaRFC35" })
- //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.ssl.jks.JKSStartupTests.testJKSStartup1" })
+ @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.security.JKSTLSTests.testJKSTLSTest7" })
public void testBackendStartup1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception
{
System.out.println("*********************************************");
--
Gitblit v1.10.0