Skip to content

Commit 1c750d2

Browse files
Expect the JDK and Vert.x clients to defer the request body
Records the behaviour those transports have once the azure-core fixes in #50311 and #50312 ship. Until Storage picks up those versions the four cases fail, which is the intended signal rather than a silent mismatch. Netty stays as it is: the change there observes the interim response and does not defer the body.
1 parent 40f35a4 commit 1c750d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎sdk/storage/azure-storage-common/src/test/java/com/azure/storage/common/policy/ExpectContinueTests.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ static Stream<Arguments> transports() {
416416
Object[][] clients = {
417417
{ "netty", "com.azure.core.http.netty.NettyAsyncHttpClientProvider", ContinueSupport.SENDS_HEADER_ONLY },
418418
{ "okhttp", "com.azure.core.http.okhttp.OkHttpAsyncClientProvider", ContinueSupport.DEFERS_BODY },
419-
{ "jdk", "com.azure.core.http.jdk.httpclient.JdkHttpClientProvider", ContinueSupport.DROPS_HEADER },
420-
{ "vertx", "com.azure.core.http.vertx.VertxHttpClientProvider", ContinueSupport.SENDS_HEADER_ONLY } };
419+
{ "jdk", "com.azure.core.http.jdk.httpclient.JdkHttpClientProvider", ContinueSupport.DEFERS_BODY },
420+
{ "vertx", "com.azure.core.http.vertx.VertxHttpClientProvider", ContinueSupport.DEFERS_BODY } };
421421

422422
return Stream.of(clients)
423423
.flatMap(client -> Stream.of(Arguments.of(client[0] + " sync", client[1], client[2], true),

0 commit comments

Comments
 (0)