Skip to content

Commit 8b4f159

Browse files
authored
fix testReadBlobWithPrematureConnectionClose jdk24 (#122655)
1 parent 8a9ae47 commit 8b4f159

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)