From 4cbe378caee0ee7389b11e2177010a6f80c1ea9c Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Mon, 16 Oct 2006 13:02:50 +0000
Subject: [PATCH] Add a synchronization stress test : The test creates a number of modification on the LDAP server and checks that the correct number of modify Messages are received by another thread that has subscribed to the changelog service using the changelogbroker API. It is possible to use several threads to create the modifications.
---
opends/src/server/org/opends/server/changelog/Changelog.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/changelog/Changelog.java b/opends/src/server/org/opends/server/changelog/Changelog.java
index dd7006a..6660b1b 100644
--- a/opends/src/server/org/opends/server/changelog/Changelog.java
+++ b/opends/src/server/org/opends/server/changelog/Changelog.java
@@ -169,6 +169,9 @@
*/
public Changelog(ConfigEntry config) throws ConfigException
{
+ shutdown = false;
+ runListen = true;
+
IntegerConfigAttribute changelogPortAttr =
(IntegerConfigAttribute) config.getConfigAttribute(changelogPortStub);
/* if there is no changelog port configured, this process must not be a
--
Gitblit v1.10.0