Skip to content

Commit af3c93a

Browse files
moschemhl-b
andauthored
fix testReadBlobWithPrematureConnectionClose jdk24 (elastic#122655) (elastic#123595)
(cherry picked from commit 8b4f159) Co-authored-by: Mikhail Berezovskiy <[email protected]>
1 parent 321c3c3 commit af3c93a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/framework/src/main/java/org/elasticsearch/repositories/blobstore/AbstractBlobContainerRetriesTestCase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ public void testReadBlobWithPrematureConnectionClose() {
354354
containsString("premature end of chunk coded message body: closing chunk expected"),
355355
containsString("premature end of content-length delimited message body"),
356356
containsString("connection closed prematurely"),
357+
containsString("premature eof"),
357358
// if we didn't call exchange.getResponseBody().flush() then we might not even have sent the response headers:
358359
alwaysFlushBody ? never() : containsString("the target server failed to respond")
359360
)

0 commit comments

Comments
 (0)