Skip to content

Commit 9231981

Browse files
committed
Fix TransportSearchIT#testCircuitBreakerReduceFail
Ensures that the test always run with a memory circuit breaker. Relates #62223
1 parent d9acac2 commit 9231981

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

server/src/internalClusterTest/java/org/elasticsearch/action/search/TransportSearchIT.java

+8
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ public void process(FetchSubPhase.HitContext hitContext) {
111111
}
112112
}
113113

114+
@Override
115+
protected Settings nodeSettings(int nodeOrdinal) {
116+
return Settings.builder()
117+
.put(super.nodeSettings(nodeOrdinal))
118+
.put("indices.breaker.request.type", "memory")
119+
.build();
120+
}
121+
114122
@Override
115123
protected Collection<Class<? extends Plugin>> nodePlugins() {
116124
return Collections.singletonList(TestPlugin.class);

0 commit comments

Comments
 (0)