Skip to content

Commit f673822

Browse files
authored
Fixed WildcardRollingUpgradeIT and TextRollingUpgradeIT failures (#137851)
1 parent 29b03fd commit f673822

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

muted-tests.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -444,18 +444,15 @@ tests:
444444
method: testSimilarityWithOneDimVector {functionName=v_cosine
445445
similarityFunction=org.elasticsearch.xpack.esql.expression.function.vector.CosineSimilarity$1@5b068087 elementType=byte}
446446
issue: https://github.com/elastic/elasticsearch/issues/137778
447-
- class: org.elasticsearch.upgrades.WildcardRollingUpgradeIT
448-
method: testIndexing {upgradedNodes=0}
449-
issue: https://github.com/elastic/elasticsearch/issues/137793
450-
- class: org.elasticsearch.upgrades.TextRollingUpgradeIT
451-
method: testIndexing {upgradedNodes=0}
452-
issue: https://github.com/elastic/elasticsearch/issues/137794
453-
- class: org.elasticsearch.upgrades.WildcardRollingUpgradeIT
454-
method: testIndexing {upgradedNodes=1}
455-
issue: https://github.com/elastic/elasticsearch/issues/137795
456-
- class: org.elasticsearch.upgrades.TextRollingUpgradeIT
457-
method: testIndexing {upgradedNodes=1}
458-
issue: https://github.com/elastic/elasticsearch/issues/137796
447+
- class: org.elasticsearch.xpack.inference.integration.CCMPersistentStorageServiceIT
448+
method: testDelete_RemovesCCMConfiguration
449+
issue: https://github.com/elastic/elasticsearch/issues/137786
450+
- class: org.elasticsearch.xpack.inference.integration.CCMPersistentStorageServiceIT
451+
method: testDelete_DoesNotThrow_WhenTheConfigurationDoesNotExist
452+
issue: https://github.com/elastic/elasticsearch/issues/137797
453+
- class: org.elasticsearch.xpack.inference.integration.CCMServiceIT
454+
method: testIsEnabled_ReturnsTrue_WhenCCMConfigurationIsPresent
455+
issue: https://github.com/elastic/elasticsearch/issues/137798
459456
- class: org.elasticsearch.xpack.esql.vector.VectorSimilarityFunctionsIT
460457
method: testSimilarityWithOneDimVector {functionName=v_cosine
461458
similarityFunction=org.elasticsearch.xpack.esql.expression.function.vector.CosineSimilarity$1@3300f4fd elementType=byte}

x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/AbstractStringTypeRollingUpgradeIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public void testIndexingWithMultifield() throws Exception {
9696
protected void testIndexing(boolean shouldIncludeKeywordMultifield) throws Exception {
9797
String dataStreamName = DATA_STREAM + (shouldIncludeKeywordMultifield ? "-multifield" : "");
9898
if (isOldCluster()) {
99+
// given - reset data stream since it could've been used by other tests
99100
smallestMessageMap.remove(dataStreamName);
100101

101102
// given - enable logsdb and create a template
@@ -235,7 +236,7 @@ private String bulkIndexRequestBody(String dataStreamName, int numDocs, Instant
235236
/**
236237
* Generates a string containing a random number of random length alphas, all delimited by space.
237238
*/
238-
public static String randomAlphasDelimitedBySpace(int maxAlphas, int minCodeUnits, int maxCodeUnits) {
239+
private static String randomAlphasDelimitedBySpace(int maxAlphas, int minCodeUnits, int maxCodeUnits) {
239240
int numAlphas = randomIntBetween(1, maxAlphas);
240241
List<String> alphas = new ArrayList<>(numAlphas);
241242
for (int i = 0; i < numAlphas; i++) {

0 commit comments

Comments
 (0)