Skip to content

Commit b18b9c4

Browse files
committed
Correct comment in index shard test
This commit fixes a comment in an index shard test which was inaccurate after it was copied from another test and not modified to reflect the reasoning in the test that it was copied into.
1 parent a3bfd27 commit b18b9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/org/elasticsearch/index/shard/IndexShardTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ public void testPrimaryPromotionRollsGeneration() throws Exception {
526526

527527
/*
528528
* This operation completing means that the delay operation executed as part of increasing the primary term has completed and the
529-
* gaps are filled.
529+
* translog generation has rolled.
530530
*/
531531
final CountDownLatch latch = new CountDownLatch(1);
532532
indexShard.acquirePrimaryOperationPermit(

0 commit comments

Comments
 (0)