Skip to content

Commit daf5ddc

Browse files
authored
Fix test failure (#135649)
1 parent 1c11b94 commit daf5ddc

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,6 @@ tests:
591591
- class: org.elasticsearch.xpack.esql.qa.multi_node.GenerativeIT
592592
method: test
593593
issue: https://github.com/elastic/elasticsearch/issues/134407
594-
- class: org.elasticsearch.action.admin.cluster.stats.SearchUsageStatsTests
595-
method: testToXContent
596-
issue: https://github.com/elastic/elasticsearch/issues/135558
597594
- class: org.elasticsearch.cluster.routing.allocation.decider.RestoreInProgressAllocationDeciderTests
598595
method: testCanAllocatePrimaryExistingInRestoreInProgress
599596
issue: https://github.com/elastic/elasticsearch/issues/135566

server/src/main/java/org/elasticsearch/action/admin/cluster/stats/SearchUsageStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public SearchUsageStats() {
5151
this.sections = new HashMap<>();
5252
this.rescorers = new HashMap<>();
5353
this.retrievers = new HashMap<>();
54-
this.extendedSearchUsageStats = ExtendedSearchUsageStats.EMPTY;
54+
this.extendedSearchUsageStats = new ExtendedSearchUsageStats();
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)