mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
testRecoveryAfterPrimaryPromotion shouldn't flush the replica with extra operations
We don't yet have lucene rollbacks, so we can't bake those in
This commit is contained in:
parent
1ac7818201
commit
fb8c767737
@ -186,7 +186,7 @@ public class RecoveryDuringReplicationTests extends ESIndexLevelReplicationTestC
|
||||
totalDocs += shards.indexDocs(randomIntBetween(0, 5));
|
||||
|
||||
if (randomBoolean()) {
|
||||
shards.flush();
|
||||
newPrimary.flush(new FlushRequest());
|
||||
}
|
||||
|
||||
oldPrimary.close("demoted", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user