Skip to content

Commit

Permalink
Fix broken test in SegmentReplicationSourceServiceTests.
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Handalian <handalm@amazon.com>
  • Loading branch information
mch2 committed Feb 16, 2023
1 parent 6a022c2 commit 1201038
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void setUp() throws Exception {
super.setUp();
// setup mocks
IndexShard mockIndexShard = CopyStateTests.createMockIndexShard();
when(mockIndexShard.verifyPrimaryMode()).thenReturn(true);
ShardId testShardId = mockIndexShard.shardId();
IndicesService mockIndicesService = mock(IndicesService.class);
IndexService mockIndexService = mock(IndexService.class);
Expand Down

0 comments on commit 1201038

Please sign in to comment.