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

matthew_swift
19.03.2007 933253e569d47e2d52c307803e3b5b579a574d96
Temporary hack / workaround for issue 2482 (client-side Aggregation Test suite goes very slow): perform an in-core restart of the server in order to clean up the configuration back-end before running the test cases (in case there are any artifacts left over from previous tests which could slow this one down even more).
1 files modified
6 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/AggregationTest.java 6 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/AggregationTest.java
@@ -186,8 +186,10 @@
  @BeforeClass
  public void setUp() throws Exception {
    // This test suite depends on having the schema available, so
    // we'll start the server.
    TestCaseUtils.startServer();
    // we'll start the server. In addition this test is sensitive to
    // having lots of junk left over from previous tests, so we
    // restart the server to clean out the config (issue 2482).
    TestCaseUtils.restartServer();
    TestCfg.setUp();
  }