Skip to content

Commit 3992f91

Browse files
mgodwanPeter Alfonsi
authored and
Peter Alfonsi
committed
Disable seg-rep for fuzzy filter postings upgrade IT (opensearch-project#12183)
Signed-off-by: mgodwan <mgodwan@amazon.com>
1 parent 0ce8133 commit 3992f91

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

qa/rolling-upgrade/src/test/java/org/opensearch/upgrades/IndexingIT.java

-4
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ public void testIndexingWithFuzzyFilterPostings() throws Exception {
360360
Settings.Builder settings = Settings.builder()
361361
.put(IndexMetadata.INDEX_NUMBER_OF_SHARDS_SETTING.getKey(), shardCount)
362362
.put(IndexMetadata.INDEX_NUMBER_OF_REPLICAS_SETTING.getKey(), replicaCount)
363-
.put(IndexMetadata.SETTING_REPLICATION_TYPE, ReplicationType.SEGMENT)
364363
.put(
365364
EngineConfig.INDEX_CODEC_SETTING.getKey(),
366365
randomFrom(new ArrayList<>(CODECS) {
@@ -406,7 +405,6 @@ public void testIndexingWithFuzzyFilterPostings() throws Exception {
406405
throw new UnsupportedOperationException("Unknown cluster type [" + CLUSTER_TYPE + "]");
407406
}
408407

409-
waitForSearchableDocs(indexName, shardCount, replicaCount);
410408
assertCount(indexName, expectedCount);
411409

412410
if (CLUSTER_TYPE != ClusterType.OLD) {
@@ -416,14 +414,12 @@ public void testIndexingWithFuzzyFilterPostings() throws Exception {
416414
toBeDeleted.addParameter("refresh", "true");
417415
toBeDeleted.setJsonEntity("{\"f1\": \"delete-me\"}");
418416
client().performRequest(toBeDeleted);
419-
waitForSearchableDocs(indexName, shardCount, replicaCount);
420417
assertCount(indexName, expectedCount + 6);
421418

422419
logger.info("--> Delete previously added doc and verify doc count");
423420
Request delete = new Request("DELETE", "/" + indexName + "/_doc/to_be_deleted");
424421
delete.addParameter("refresh", "true");
425422
client().performRequest(delete);
426-
waitForSearchableDocs(indexName, shardCount, replicaCount);
427423
assertCount(indexName, expectedCount + 5);
428424

429425
//forceMergeAndVerify(indexName, shardCount * (1 + replicaCount));

0 commit comments

Comments
 (0)