mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

el_kaboing
25.01.2006 441e0c614f992f1bd5537d2592fa161d6e4a8033
Added backend test suite into the default tests that are run.
2 files modified
11 ■■■■ changed files
opends/tests/integration-tests-testng/build.sh 8 ●●●● patch | view | raw | blame | history
opends/tests/integration-tests-testng/src/server/org/opends/server/integration/backend/BackendStartupTests.java 3 ●●●● patch | view | raw | blame | history
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>
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("*********************************************");