| | |
| | | * information: "Portions copyright [year] [name of copyright owner]". |
| | | * |
| | | * Copyright 2026 3A Systems, LLC. |
| | | * Portions Copyright 2026 3A Systems, LLC. |
| | | */ |
| | | package org.opends.server.replication.plugin; |
| | | |
| | |
| | | import org.opends.server.replication.protocol.ReplicaOfflineMsg; |
| | | import org.opends.server.replication.protocol.UpdateMsg; |
| | | import org.opends.server.replication.service.DSRSShutdownSync; |
| | | import org.opends.server.replication.service.DSRSShutdownSync.ForwardingPeer; |
| | | import org.opends.server.replication.service.ReplicationDomain; |
| | | import org.opends.server.types.operation.PluginOperation; |
| | | import org.testng.annotations.BeforeClass; |
| | |
| | | { |
| | | assertFalse(shutdownSync.canShutdown(baseDN), |
| | | "the message must be announced before it is published"); |
| | | shutdownSync.replicaOfflineMsgForwarded(baseDN, msg.getCSN(), RS_ID); |
| | | shutdownSync.replicaOfflineMsgForwarded(baseDN, msg.getCSN(), new ForwardingPeer(RS_ID)); |
| | | } |
| | | return true; |
| | | }).when(domain).publish(any(UpdateMsg.class)); |