Skip to content

Commit c048700

Browse files
committed
Applying spotless check
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
1 parent e0dcca6 commit c048700

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

server/src/test/java/org/opensearch/index/shard/IndexShardTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,9 +731,9 @@ public void testOperationPermitsOnPrimaryShards() throws Exception {
731731
final long newPrimaryTerm = indexShard.getPendingPrimaryTerm() + between(1, 1000);
732732
CountDownLatch latch = new CountDownLatch(1);
733733
indexShard.updateShardState(primaryRouting, newPrimaryTerm, (shard, listener) -> {
734-
assertThat(TestTranslog.getCurrentTerm(getTranslog(indexShard)), equalTo(newPrimaryTerm));
735-
latch.countDown();
736-
},
734+
assertThat(TestTranslog.getCurrentTerm(getTranslog(indexShard)), equalTo(newPrimaryTerm));
735+
latch.countDown();
736+
},
737737
0L,
738738
Collections.singleton(indexShard.routingEntry().allocationId().getId()),
739739
new IndexShardRoutingTable.Builder(indexShard.shardId()).addShard(primaryRouting).build()

0 commit comments

Comments
 (0)