Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*
* Copyright 2006-2010 Sun Microsystems, Inc.
* Portions Copyright 2013-2016 ForgeRock AS.
* Portions Copyright 2026 3A Systems, LLC
*/
package org.opends.server.replication;

Expand All @@ -38,6 +39,7 @@
import org.opends.server.protocols.internal.InternalClientConnection;
import org.opends.server.replication.protocol.AddMsg;
import org.opends.server.replication.protocol.ReplicationMsg;
import org.opends.server.replication.protocol.UpdateMsg;
import org.opends.server.replication.service.ReplicationBroker;
import org.opends.server.types.Entry;
import org.opends.server.types.InitializationException;
Expand All @@ -62,7 +64,7 @@ public class StressTest extends ReplicationTestCase


/** Stress test from LDAP server to client using the ReplicationBroker API. */
@Test(enabled=false, groups="slow")
@Test
public void fromServertoBroker() throws Exception
{
logger.error(LocalizableMessage.raw("Starting replication StressTest : fromServertoBroker"));
Expand Down Expand Up @@ -264,6 +266,12 @@ public void run()
{
break;
}
if (msg instanceof UpdateMsg)
{
// Acknowledge the flow control window, otherwise the replication
// server stops sending after windowSize messages.
broker.updateWindowAfterReplay();
}
count ++;
}
} catch (Exception e)
Expand Down