diff --git a/test/framework/src/main/java/org/elasticsearch/repositories/blobstore/AbstractBlobContainerRetriesTestCase.java b/test/framework/src/main/java/org/elasticsearch/repositories/blobstore/AbstractBlobContainerRetriesTestCase.java index 12094b31a049d..9e955fa727d76 100644 --- a/test/framework/src/main/java/org/elasticsearch/repositories/blobstore/AbstractBlobContainerRetriesTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/repositories/blobstore/AbstractBlobContainerRetriesTestCase.java @@ -356,6 +356,7 @@ public void testReadBlobWithPrematureConnectionClose() { containsString("premature end of chunk coded message body: closing chunk expected"), containsString("premature end of content-length delimited message body"), containsString("connection closed prematurely"), + containsString("premature eof"), // if we didn't call exchange.getResponseBody().flush() then we might not even have sent the response headers: alwaysFlushBody ? never() : containsString("the target server failed to respond") )