Skip to content

Commit f4a50ea

Browse files
moschemhl-b
andauthored
fix testReadBlobWithPrematureConnectionClose jdk24 (#122655) (#123594)
(cherry picked from commit 8b4f159) Co-authored-by: Mikhail Berezovskiy <mikhail@elastic.co>
1 parent df519bf commit f4a50ea

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

+1
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ public void testReadBlobWithPrematureConnectionClose() {
356356
containsString("premature end of chunk coded message body: closing chunk expected"),
357357
containsString("premature end of content-length delimited message body"),
358358
containsString("connection closed prematurely"),
359+
containsString("premature eof"),
359360
// if we didn't call exchange.getResponseBody().flush() then we might not even have sent the response headers:
360361
alwaysFlushBody ? never() : containsString("the target server failed to respond")
361362
)

0 commit comments

Comments
 (0)