Skip to content

Commit e942483

Browse files
[Segment Replication] Unmute Test SegmentReplicationTargetServiceTests.testShardAlreadyReplicating (#10660)
* Remove Awaits fix. Signed-off-by: Rishikesh1159 <[email protected]> * apply spotlesscheck. Signed-off-by: Rishikesh1159 <[email protected]> * add test logging. Signed-off-by: Rishikesh1159 <[email protected]> --------- Signed-off-by: Rishikesh1159 <[email protected]>
1 parent 4632f4b commit e942483

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/test/java/org/opensearch/indices/replication/SegmentReplicationTargetServiceTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import org.opensearch.indices.replication.common.ReplicationLuceneIndex;
4040
import org.opensearch.indices.replication.common.ReplicationType;
4141
import org.opensearch.telemetry.tracing.noop.NoopTracer;
42+
import org.opensearch.test.junit.annotations.TestLogging;
4243
import org.opensearch.test.transport.CapturingTransport;
4344
import org.opensearch.threadpool.TestThreadPool;
4445
import org.opensearch.threadpool.ThreadPool;
@@ -246,7 +247,7 @@ public void testAlreadyOnNewCheckpoint() {
246247
verify(spy, times(0)).startReplication(any(), any(), any());
247248
}
248249

249-
@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/8928")
250+
@TestLogging(reason = "Getting trace logs from replication package", value = "org.opensearch.indices.replication:TRACE")
250251
public void testShardAlreadyReplicating() {
251252
CountDownLatch blockGetCheckpointMetadata = new CountDownLatch(1);
252253
SegmentReplicationSource source = new TestReplicationSource() {

0 commit comments

Comments
 (0)