From 933253e569d47e2d52c307803e3b5b579a574d96 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 19 Dec 2007 10:03:21 +0000
Subject: [PATCH] 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).
---
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/AggregationTest.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/AggregationTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/AggregationTest.java
index 7fd230f..5dc425c 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/client/ldap/AggregationTest.java
+++ b/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();
}
--
Gitblit v1.10.0