Changed the order of the tests and made a very strict dependency chain for the tests to fix a Windows-related issue.
2 files deleted
12 files modified
| | |
| | | <packages> |
| | | <package name="org.opends.server.integration.quickstart"/> |
| | | <package name="org.opends.server.integration.bob"/> |
| | | <package name="org.opends.server.integration.core"/> |
| | | <package name="org.opends.server.integration.frontend"/> |
| | | <package name="org.opends.server.integration.schema"/> |
| | | <package name="org.opends.server.integration.core"/> |
| | | <package name="org.opends.server.integration.security"/> |
| | | <package name="org.opends.server.integration.backend"/> |
| | | </packages> |
| | |
| | | <define name="all"> |
| | | <include name="quickstart"/> |
| | | <include name="bob"/> |
| | | <include name="core"/> |
| | | <include name="frontend"/> |
| | | <include name="schema"/> |
| | | <include name="core"/> |
| | | <include name="security"/> |
| | | <include name="backend"/> |
| | | </define> |
| | |
| | | <include name="bob"/> |
| | | </define> |
| | | |
| | | <define name="core"> |
| | | <include name="core"/> |
| | | </define> |
| | | |
| | | <define name="frontend"> |
| | | <include name="frontend"/> |
| | | </define> |
| | |
| | | <include name="schema"/> |
| | | </define> |
| | | |
| | | <define name="core"> |
| | | <include name="core"/> |
| | | </define> |
| | | |
| | | <define name="security"> |
| | | <include name="security"/> |
| | | </define> |
| | |
| | | <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"> |
| | |
| | | <include name="frontend"/> |
| | | <include name="schema"/> |
| | | <include name="security"/> |
| | | <include name="backend"/> |
| | | </define> |
| | | |
| | | <define name="quickstart"> |
| | |
| | | <include name="security"/> |
| | | </define> |
| | | |
| | | <define name="backend"> |
| | | <include name="backend"/> |
| | | </define> |
| | | |
| | | <run> |
| | | <include name="all"/> |
| | | </run> |
| | |
| | | /** |
| | | * An abstract base class for all backend test cases. |
| | | */ |
| | | @Test(groups = { "integration-tests", "backend" }, alwaysRun=true, dependsOnGroups = { "ssl_jks" }) |
| | | @Test(groups = { "integration-tests", "backend" }, alwaysRun=true, dependsOnGroups = { "security" }) |
| | | public abstract class BackendTests extends OpenDSIntegrationTests { |
| | | // No implementation required. |
| | | } |
| | |
| | | public class CoreSearchTimeLimitTests extends CoreTests |
| | | { |
| | | @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit11" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreStartupTests.testCoreStartup2" }) |
| | | //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit11" }) |
| | | public void testCoreSearchTimeLimit1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception |
| | | { |
| | | System.out.println("*********************************************"); |
| | |
| | | * Setup for core tests |
| | | */ |
| | | @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.bob.BobStartupTests.testBobStartup1" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.schema.SchemaRFCTests.testSchemaRFC35" }) |
| | | //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship10" }) |
| | | public void testCoreStartup1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception |
| | | { |
| | | System.out.println("*********************************************"); |
| | |
| | | /** |
| | | * An abstract base class for all core test cases. |
| | | */ |
| | | @Test(groups = { "integration-tests", "core" }, alwaysRun=true, dependsOnGroups = { "bob" }) |
| | | @Test(groups = { "integration-tests", "core" }, alwaysRun=true, dependsOnGroups = { "schema" }) |
| | | public abstract class CoreTests extends OpenDSIntegrationTests { |
| | | // No implementation required. |
| | | } |
| | |
| | | public class CoreVersionReportTests extends CoreTests |
| | | { |
| | | @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" }) |
| | | //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreSearchSizeLimitTests.testCoreSearchSizeLimit11" }) |
| | | //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreStartupTests.testCoreStartup2" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreSearchTimeLimitTests.testCoreSearchTimeLimit11" }) |
| | | public void testCoreVersionReport1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception |
| | | { |
| | |
| | | * Setup for frontend tests |
| | | */ |
| | | @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreStartupTests.testCoreStartup1" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.bob.BobDeleteTests.testBobDelete12" }) |
| | | //@Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreStartupTests.testCoreStartup1" }) |
| | | public void testFrontendStartup1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception |
| | | { |
| | | System.out.println("*********************************************"); |
| | |
| | | /** |
| | | * An abstract base class for all frontend test cases. |
| | | */ |
| | | @Test(groups = { "integration-tests", "frontend" }, alwaysRun=true, dependsOnGroups = { "core" }) |
| | | @Test(groups = { "integration-tests", "frontend" }, alwaysRun=true, dependsOnGroups = { "bob" }) |
| | | public abstract class FrontendTests extends OpenDSIntegrationTests { |
| | | // No implementation required. |
| | | } |
| | |
| | | * Setup for schema tests |
| | | */ |
| | | @Parameters({ "hostname", "port", "bindDN", "bindPW", "integration_test_home", "logDir" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.bob.BobStartupTests.testBobStartup1" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.frontend.FrontendRFC2253_relationships.testFrontendUserRelationship10" }) |
| | | public void testSchemaStartup1(String hostname, String port, String bindDN, String bindPW, String integration_test_home, String logDir) throws Exception |
| | | { |
| | | System.out.println("*********************************************"); |
| | |
| | | * Setup for jks tests |
| | | */ |
| | | @Parameters({ "integration_test_home", "dsee_home", "logDir" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.schema.SchemaStartupTests.testSchemaStartup1" }) |
| | | @Test(alwaysRun=true, dependsOnMethods = { "org.opends.server.integration.core.CoreEntryCacheTests.testCoreEntryCache6" }) |
| | | public void testJKSStartup1(String integration_test_home, String dsee_home, String logDir) throws Exception |
| | | { |
| | | System.out.println("*********************************************"); |
| | |
| | | /** |
| | | * An abstract base class for all ssl jks test cases. |
| | | */ |
| | | @Test(groups = { "integration-tests", "security" }, alwaysRun=true, dependsOnGroups = { "schema" }) |
| | | @Test(groups = { "integration-tests", "security" }, alwaysRun=true, dependsOnGroups = { "core" }) |
| | | public abstract class JKSTests extends OpenDSIntegrationTests { |
| | | // No implementation required. |
| | | } |