Explorar o código

fix testReadBlobWithPrematureConnectionClose jdk24 (#122655) (#123594)

(cherry picked from commit 8b4f159aa2cd8d7862f35db9a29e40f0cf447606)

Co-authored-by: Mikhail Berezovskiy <mikhail@elastic.co>
Moritz Mack hai 7 meses
pai
achega
f4a50ea350

+ 1 - 0
test/framework/src/main/java/org/elasticsearch/repositories/blobstore/AbstractBlobContainerRetriesTestCase.java

@@ -356,6 +356,7 @@ public abstract class AbstractBlobContainerRetriesTestCase extends ESTestCase {
                 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")
             )