Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,6 @@ tests:
- class: org.elasticsearch.indices.cluster.RemoteSearchForceConnectTimeoutIT
method: testTimeoutSetting
issue: https://github.com/elastic/elasticsearch/issues/131656
- class: org.elasticsearch.index.engine.MergeWithLowDiskSpaceIT
method: testRelocationWhileForceMerging
issue: https://github.com/elastic/elasticsearch/issues/131789
- class: org.elasticsearch.xpack.stack.StackYamlIT
method: test {yaml=stack/10_basic/Test wrong data_stream type - logs from 9.2.0}
issue: https://github.com/elastic/elasticsearch/issues/131803
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,10 @@ public void testRelocationWhileForceMerging() throws Exception {
ensureStableCluster(1);
setTotalSpace(node1, Long.MAX_VALUE);
String indexName = randomAlphaOfLength(10).toLowerCase(Locale.ROOT);
prepareCreate(indexName, indexSettings(1, 0)).get();
createIndex(
indexName,
Settings.builder().put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, 0).put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 1).build()
);
// get current disk space usage (for all indices on the node)
IndicesStatsResponse stats = indicesAdmin().prepareStats().clear().setStore(true).get();
long usedDiskSpaceAfterIndexing = stats.getTotal().getStore().sizeInBytes();
Expand Down