File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed
main/java/org/opensearch/index/shard
test/java/org/opensearch/indices/replication Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 201201import org .opensearch .indices .recovery .RecoverySettings ;
202202import org .opensearch .indices .recovery .RecoveryState ;
203203import org .opensearch .indices .recovery .RecoveryTarget ;
204- import org .opensearch .indices .replication .checkpoint .*;
204+ import org .opensearch .indices .replication .checkpoint .MergedSegmentCheckpoint ;
205+ import org .opensearch .indices .replication .checkpoint .MergedSegmentPublisher ;
206+ import org .opensearch .indices .replication .checkpoint .ReplicationCheckpoint ;
207+ import org .opensearch .indices .replication .checkpoint .RemoteStoreMergedSegmentCheckpoint ;
208+ import org .opensearch .indices .replication .checkpoint .SegmentReplicationCheckpointPublisher ;
205209import org .opensearch .indices .replication .common .ReplicationTimer ;
206210import org .opensearch .repositories .RepositoriesService ;
207211import org .opensearch .repositories .Repository ;
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-License-Identifier: Apache-2.0
3+ *
4+ * The OpenSearch Contributors require contributions made to
5+ * this file be licensed under the Apache-2.0 license or a
6+ * compatible open source license.
7+ */
8+
19package org .opensearch .indices .replication ;
210
3- import org .junit .After ;
411import org .junit .Before ;
5- import org .junit .BeforeClass ;
612import org .junit .Test ;
7- import org .junit .runner .OrderWith ;
813import org .opensearch .index .store .RemoteSegmentStoreDirectory .UploadedSegmentMetadata ;
914
1015import java .util .Map ;
1318import java .util .concurrent .Executors ;
1419import java .util .concurrent .TimeUnit ;
1520
16- import static org .junit .Assert .*;
17- import static org .mockito .Mockito .*;
21+ import static org .junit .Assert .assertSame ;
22+ import static org .junit .Assert .assertEquals ;
23+ import static org .junit .Assert .assertTrue ;
24+ import static org .junit .Assert .assertFalse ;
25+ import static org .junit .Assert .assertNull ;
26+ import static org .mockito .Mockito .mock ;
27+ import static org .mockito .Mockito .when ;
28+
1829
1930public class ActiveMergesSegmentRegistryTests {
2031
You can’t perform that action at this time.
0 commit comments