Skip to content

Commit 791a8e0

Browse files
felixbarnygmjehovich
authored andcommitted
Fix and unmute testIndexSettingProviderPrivateSetting (elastic#134861)
1 parent bbfd674 commit 791a8e0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,6 @@ tests:
549549
- class: org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT
550550
method: test {csv-spec:fork.ForkBeforeStatsByWithWhere}
551551
issue: https://github.com/elastic/elasticsearch/issues/134817
552-
- class: org.elasticsearch.cluster.metadata.MetadataCreateIndexServiceTests
553-
method: testIndexSettingProviderPrivateSetting
554-
issue: https://github.com/elastic/elasticsearch/issues/134846
555552
- class: org.elasticsearch.repositories.blobstore.testkit.analyze.MinioRepositoryAnalysisRestIT
556553
method: testRepositoryAnalysis
557554
issue: https://github.com/elastic/elasticsearch/issues/134853

server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ public void testSetPrivateSettingsSucceedsWhenSystemProvided() throws Exception
17881788
clusterService,
17891789
indicesService,
17901790
null,
1791-
createTestShardLimitService(randomIntBetween(1, 1000), clusterService),
1791+
createTestShardLimitService(randomIntBetween(10, 1000), clusterService),
17921792
newEnvironment(),
17931793
new IndexScopedSettings(Settings.EMPTY, IndexScopedSettings.BUILT_IN_INDEX_SETTINGS),
17941794
threadPool,
@@ -1819,7 +1819,7 @@ public void testIndexSettingProviderPrivateSetting() throws Exception {
18191819
clusterService,
18201820
indicesService,
18211821
null,
1822-
createTestShardLimitService(randomIntBetween(1, 1000), clusterService),
1822+
createTestShardLimitService(randomIntBetween(10, 1000), clusterService),
18231823
newEnvironment(),
18241824
new IndexScopedSettings(Settings.EMPTY, IndexScopedSettings.BUILT_IN_INDEX_SETTINGS),
18251825
threadPool,

0 commit comments

Comments
 (0)