Skip to content

Commit 0d1e788

Browse files
Removing time value field for 8.*
1 parent 8172961 commit 0d1e788

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: x-pack/plugin/inference/src/internalClusterTest/java/org/elasticsearch/xpack/inference/integration/SemanticTextIndexVersionIT.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import org.elasticsearch.cluster.metadata.IndexMetadata;
1414
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
1515
import org.elasticsearch.common.settings.Settings;
16-
import org.elasticsearch.core.TimeValue;
1716
import org.elasticsearch.index.IndexVersion;
1817
import org.elasticsearch.index.IndexVersions;
1918
import org.elasticsearch.index.mapper.vectors.DenseVectorFieldMapper;
@@ -51,7 +50,7 @@
5150
import static org.hamcrest.Matchers.equalTo;
5251

5352
public class SemanticTextIndexVersionIT extends ESIntegTestCase {
54-
private static final int MAXIMUM_NUMBER_OF_VERSIONS_TO_TEST = 25;
53+
private static final int MAXIMUM_NUMBER_OF_VERSIONS_TO_TEST = 1;
5554
private static final String SPARSE_SEMANTIC_FIELD = "sparse_field";
5655
private static final String DENSE_SEMANTIC_FIELD = "dense_field";
5756
private List<IndexVersion> selectedVersions;
@@ -129,7 +128,7 @@ public void testSemanticText() throws Exception {
129128
version.id(),
130129
client().admin()
131130
.indices()
132-
.prepareGetSettings(TimeValue.THIRTY_SECONDS, indexName)
131+
.prepareGetSettings(indexName)
133132
.get()
134133
.getIndexToSettings()
135134
.get(indexName)

0 commit comments

Comments
 (0)