EsqlActionBreakerIT fails in a number of different ways. This issue intends to be a place to capture such failures, so that they can be analysed and worked on separately. 
x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionBreakerIT.java
.setId(Integer.toString(i))
                    .setSource("foo", i, "bar", i * 2)
                    .get();
                if (response.getResult() != DocWriteResponse.Result.CREATED) {
                    fail("failure: " + response);
                }
            }
            client().admin().indices().prepareRefresh("test").get();
            ensureYellow("test");
            ElasticsearchException e = expectThrows(
                ElasticsearchException.class,
                () -> super.run("from test | stats avg(foo) by bar", QueryPragmas.EMPTY).close()
            );
            logger.info("expected error", e);
            if (e instanceof CircuitBreakingException) {
                
                assertThat(e.getMessage(), containsString("Data too large"));
            } else {
                
                assertThat(e.getMessage(), containsString("Compute engine failure"));
                assertThat(e.getMessage(), containsString("Data too large"));
                assertThat(e.getCause(), instanceOf(CircuitBreakingException.class));
                assertThat(e.getCause().getMessage(), containsString("Data too large"));
            }
        } finally {
            setRequestCircuitBreakerLimit(null);
        }
    }
}